This is the mail archive of the
mailing list for the Cygwin project.
Re: Kill cygwin process form task manager
On Nov 14 11:20, Michael Wiedmann wrote:
> I need hints how to act if someone kills my Cygwin (parent) process using Windows task manager and I want to kill all forked child processes.
> I already keep a list of all childs pids and can kill them successfully in an SIGINT handler (if the programm is started in foreground and is interrupted e.g. by Ctrl-C).
When task manager kills a process, the process doesn't get a
notification, as far as I know. You could use any sort of keep-alive
mechanism between parent and children so the children end themselves
when the parent died.
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html