[EMAIL PROTECTED] wrote:
> An update:
>
> I need to run a couple processes (or threads) in parallel, and when one of
> them ends (which one ends first will vary), kill the other and continue the
> main program. I was hoping to use a signal handler to catch a SIGCHLD to
> notify me when the fir
ot;,
> >"ping -t 127.0.0.1",
> >0,
> >NORMAL_PRIORITY_CLASS,
> >".") || die;
> >
> > my $pid = $ProcessObj->GetProcessID();
> >
> > print "Got pid $pid\n";
> > sleep 5;
> >
---Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: 25 February 2005 08:43
To: perl-win32-users@listserv.ActiveState.com
Subject: Win32::Process->kill() macro not defined
I'm trying to use Win32::Process to run an external program
[EMAIL PROTECTED] wrote:
I'm trying to use Win32::Process to run an external program asynchronously while I run a countdown timer in the main program. If the timer runs out, I want to kill the other program/process. I am able to create the second process fine, my program continues to the timer, but
> I'm trying to use Win32::Process to run an external program asynchronously
> while I run a countdown timer in the main program. If the timer runs out, I
> want
> to kill the other program/process. I am able to create the second process
> fine,
> my program continues to the timer, but when the
I'm trying to use Win32::Process to run an external program asynchronously
while I run a countdown timer in the main program. If the timer runs out, I
want to kill the other program/process. I am able to create the second process
fine, my program continues to the timer, but when the timer expire