Skip to content

Commit cda808e

Browse files
authored
Merge pull request #47 from Birnendampf/os.exec-fix
Textual run not respecting interpreter choice
2 parents 8e3144d + a99cc3a commit cda808e

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)