git-bash fails with "couldn't create signal pipe, Win32 error 5" when sandboxing is enabled
Resolved 💬 0 comments Opened Nov 20, 2025 by sebthom Closed Jan 30, 2026
What version of Codex is running?
codex-cli 0.61.0
What subscription do you have?
pro
Which model were you using?
gpt5.1-codex-max
What platform is your computer?
Microsoft Windows NT 10.0.19045.0 x64
What issue are you seeing?
When sandboxing is enabled codex fails to execute any git bash commands and fails with:
└ 1 [main] bash (39564) cygheap_user::init: NtSetInformationToken (TokenDefaultDacl), 0xC0000022
2896 [main] bash (39564) C:\scoop\apps\git-with-openssh\current\usr\bin\bash.exe: *** fatal error - couldn't create signal pipe, Win32 error 5
What steps can reproduce the bug?
ask codex to run e.g. bash -lc "echo hi"
> run: bash -lc "echo hi"
• Attempting a minimal bash command to verify bash availability.
• Ran echo hi
└ 1 [main] bash (39564) cygheap_user::init: NtSetInformationToken (TokenDefaultDacl), 0xC0000022
2896 [main] bash (39564) C:\scoop\apps\git-with-openssh\current\usr\bin\bash.exe: *** fatal error - couldn't create signal pipe, Win32 error 5
What is the expected behavior?
Executing bash script via git-bash still works.
Additional information
_No response_