Merge pull request #29059 from NousResearch/jq/fix-windows-creationflags-collision
fix(windows): drop duplicate creationflags kwarg in LocalEnvironment run_bash
This commit is contained in:
@@ -532,7 +532,6 @@ class LocalEnvironment(BaseEnvironment):
|
|||||||
stderr=subprocess.STDOUT,
|
stderr=subprocess.STDOUT,
|
||||||
stdin=subprocess.PIPE if stdin_data is not None else subprocess.DEVNULL,
|
stdin=subprocess.PIPE if stdin_data is not None else subprocess.DEVNULL,
|
||||||
preexec_fn=None if _IS_WINDOWS else os.setsid,
|
preexec_fn=None if _IS_WINDOWS else os.setsid,
|
||||||
creationflags=subprocess.CREATE_NO_WINDOW if _IS_WINDOWS else 0,
|
|
||||||
cwd=_popen_cwd,
|
cwd=_popen_cwd,
|
||||||
**_popen_kwargs,
|
**_popen_kwargs,
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user