-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nf
claims to have delivered SIGINT
to all children on exit from one, but does not actually
#176
Comments
Turns out I had misdiagnosed this!
In the repro case that I gave, the process tree looks like this after
The
So in this example:
The way that |
I've implemented support for using process groups in my fork (benweint@5cb9ee5) and can PR it if there's interest, but it looks like this project might be dead. |
) Signed-off-by: Ben Weintraub <[email protected]>
The README says:
nf
does seem to detect the exit of a single child process, and claims to be sending aSIGINT
to all children in response to it, but in fact will not deliver theSIGINT
in all cases.Here's a simple repro case:
Observations
If I modify
wait-for-sigint.sh
to emit a constant stream of output while it is waiting, then the test case works as expected:Comparison to other implementations
foreman
(Ruby)goreman
(Go)goreman
has different default behavior wrt a single child process exiting:... but with
-exit-on-error
('Exit goreman if a subprocess quits with a nonzero return code'):The text was updated successfully, but these errors were encountered: