mirror of
https://github.com/badlogic/pi-mono.git
synced 2026-11-05 23:37:25 +00:00
waitForChildProcess resolved null for the exit code when a child was killed by a signal (e.g. OOM killer), and exec mapped it with code ?? 0, so the bash tool treated killed commands as successful. Track the termination signal and fall back to the shell convention of 128 + signal number (137 for SIGKILL) when no exit code is available. fixes #8992 closes #8882 |
||
|---|---|---|
| .. | ||
| harness | ||
| utils | ||
| agent-loop.test.ts | ||
| agent.test.ts | ||
| e2e.test.ts | ||
| proxy.test.ts | ||