This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]