This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: problems in Perl process management
On Tue, May 10, 2005 at 01:12:05PM +0200, Jurgen Defurne wrote:
>I also would like to know if it is possible.
>
>However, it could be that it has nothing to do with Cygwin. I have
>a Perl script which forks several children and monitors their output.
>
>If a child fails, then it has no use to run all forked processes further
>and I kill them with the perl 'kill' command. However, I also notice that
>deeper forked processes (grandchildren) refuse to die. This
>script is only run using ActiveState Perl.
ActiveState perl is a windows program. You can't send cygwin (aka unix)
signals to a windows proram.
>I think it is really a serious Windows problem, because using
>the task manager it also seems not really possible to kill a complete
>process hierarchy.
XP has an option for killing the process hierarchy. Just right click on
the process.
cgf
--
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/