mirror of
https://github.com/pewdiepie-archdaemon/odysseus.git
synced 2026-10-07 23:42:21 +02:00
Merge pull request #45 from o3LL/fix/windows-bash-pipes-env
fix(agent): capture Windows Bash output and pass the subprocess env
This commit is contained in:
@@ -117,6 +117,10 @@ async def _create_bash_subprocess(
|
||||
bash,
|
||||
"-c",
|
||||
str(command or ""),
|
||||
stdin=asyncio.subprocess.DEVNULL,
|
||||
stdout=asyncio.subprocess.PIPE,
|
||||
stderr=asyncio.subprocess.PIPE,
|
||||
env=env,
|
||||
cwd=cwd,
|
||||
)
|
||||
kwargs = {"cwd": cwd} if cwd is not None else {}
|
||||
|
||||
Reference in New Issue
Block a user