Repository navigation
Commit 4865776
committed
Process test: wait until the detached child has left the group
`a_detached_pipe_cannot_hang_completion` started a `setsid` child and
exited after a fixed 0.1 s. On a slow runner the child had not called
setsid() yet, so the runner's group kill took it too, the pipe closed,
and the output was not marked truncated. The shell now exits once the
child has written its pid, which it does after setsid.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Fn7NbipAkYG7cYZxHk8xRu1 parent 26d6b74 commit 4865776
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
120 | | - | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
121 | 125 | | |
122 | 126 | | |
123 | 127 | | |
| |||
0 commit comments