1) Was calling Wait() on the child process, but also calling Wait4, which would race, causing an occasional error or panic. 2) In testing (1), I observed occasional hangs. Tracing it down to a SIGWINCH, which masked a SIGCHLD, causing it to hang. Both seem fixed. Added a manual test script. |
||
|---|---|---|
| .. | ||
| pid1 | ||
| version | ||