mirror of
https://github.com/Faraphel/Atlas-Install.git
synced 2025-07-03 11:18:26 +02:00
added stdin support to _run_popen
This commit is contained in:
parent
803e9603e7
commit
4cb2aa7379
1 changed files with 1 additions and 0 deletions
|
@ -100,6 +100,7 @@ def _run_popen(tools_path: Path | str, *args) -> subprocess.Popen:
|
||||||
"""
|
"""
|
||||||
return subprocess.Popen(
|
return subprocess.Popen(
|
||||||
[tools_path, *args],
|
[tools_path, *args],
|
||||||
|
stdin=subprocess.PIPE,
|
||||||
stdout=subprocess.PIPE,
|
stdout=subprocess.PIPE,
|
||||||
creationflags=subprocess.CREATE_NO_WINDOW,
|
creationflags=subprocess.CREATE_NO_WINDOW,
|
||||||
bufsize=1,
|
bufsize=1,
|
||||||
|
|
Loading…
Reference in a new issue