Update local.py #8340

This commit is contained in:
dippwho 2026-04-12 17:14:16 +03:00 committed by Teknium
parent a521005fe5
commit 94a1990404
No known key found for this signature in database

View file

@ -267,9 +267,9 @@ class LocalEnvironment(BaseEnvironment):
stdout=subprocess.PIPE,
stderr=subprocess.STDOUT,
stdin=subprocess.PIPE if stdin_data is not None else subprocess.DEVNULL,
preexec_fn=None if _IS_WINDOWS else os.setsid,
start_new_session=not _IS_WINDOWS,
)
if stdin_data is not None:
_pipe_stdin(proc, stdin_data)