-
Notifications
You must be signed in to change notification settings - Fork 77
y.sh cargo run swallows the signal emitted by the running process #496
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
Comments
I don't think signals should be emitted by the parent as well (in this case, SIGSEGV tells that a memory access was wrong, which is only the case of the child, not the parent). We should display which signal ended the process though if any. |
|
On Unix you could exec cargo instead of spawning it as subprocess. That is what cargo-clif and rustc-clif do. |
In my sync PR, it seems like this is still happening, re-opening just in case. |
So, it looks like we return |
Do we want to re-raise the signal though? |
Yes. I'd like the same behavior as |
For instance, if the process segfaults,
./y.sh cargo run
will not emit a SIGSEGV signal while it should do that.The text was updated successfully, but these errors were encountered: