You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 29, 2023. It is now read-only.
In my understanding, we should introduce SIGPIPE signal to kill a parent process when its pipe is broken.
It might be a proper solution to achieve what you want if we set its default behavior as terminating a process.
It might be preferable to implement a signal handling mechanism ( #11 ) beforehand.
Thanks,
Regards,
tyfkda
changed the title
Kill parent process when child is dead with abnormal code
Kill sibling process when pipe is broken
Aug 14, 2018
tyfkda
changed the title
Kill sibling process when pipe is broken
Kill sibling process when a pipe is broken
Aug 14, 2018
The text was updated successfully, but these errors were encountered: