Skip to content

Commit a99cc3a

Browse files
authored
fix args to os.exec*
1 parent 6485ab6 commit a99cc3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/textual_dev/tools/run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def exec_python(args: Sequence[str], environment: dict[str, str]) -> None:
105105
if WINDOWS:
106106
subprocess.call([sys.executable, *args], env=environment)
107107
else:
108-
os.execvpe(sys.executable, ["python", *args], environment)
108+
os.execve(sys.executable, [sys.executable, *args], environment)
109109

110110

111111
def exec_command(

0 commit comments

Comments
 (0)