This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Kill cygwin process form task manager
On Nov 14 11:20, Michael Wiedmann wrote:
> Hi,
>
> 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
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Red Hat
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/