Bill,
Yes... this works from the command-line... but I was having other fork() related issues from the command-line too... fork() emulation just isn't stable with win32... I was already trying to reason out something with Win32::Process... but I'm missing some of the magic I think in getting a proper process fired up...
Could you give me an example of how this might work?
Thanks,
Andy Speagle
-----
On 4/26/06, $Bill Luebkert <[EMAIL PROTECTED]> wrote:
Andy Speagle wrote:
> Hi Bill,
>
> Thanks for the info... I tried your suggested code... though it doesn't
> look functionally much different from what I had... it returned the same
> result... with perhaps better output logging... I'll paste the output up
> through the 6th child thread.
>
> You can see that it catches the first child thread (-11404) dying... but
> all subsequent children are not caught... is it that this script is
> processed as a cgi that it's not handling the thread signals properly?
It works from the commandline - right ? If so, it's probably something
to do with IIS. I'd try Win32::Process and pass the path as an arg.
You could also try threads, but you may have the same problems as fork.
You should be able to control the children just as well with Win32::Process.
_______________________________________________ Perl-Win32-Users mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
