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:
Alexandre Teixeira
2026-10-01 20:20:45 +01:00
committed by GitHub
3 changed files with 83 additions and 1 deletions
+4
View File
@@ -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 {}