Sisyphus wrote:

> I don't think ActiveState *can* implement wait() to handle processes
> launched with backticks. But they already provide you with the
> Win32::Process module, which is the correct course of action ot take.
> 
> If I understand you correctly, you can just use Win32::Process's Wait() and
> Kill() functions to implement the alarm - if the executable is launched
> using Win32::Process's Create() function.
> 
> I don't see a need for either Time::HiRes or output redirection (though I
> could be missing something).

HiRes for timing the kill (although time maybe be close enough for the
poster [I'm assuming looping on a small wait]) and redirection to get
the output of the child (imitating backticks).
_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to