P
peterkayatwork
I'm using ActiveState Perl on a Windows XP platform, and want to kick
off some scripts from one central location. However, I want to make
sure these scripts exit, and would like to timeout if they don't.
Ideally, I want to grab the output as well, but I can handle that by
redirecting to output files if I need.
Can anyone suggest a way to do this? Can anyone suggest what to look
for?
If I were doing this in a *nix environment, I'd try signals, but I
suspect that cygwin just isn't going to handle them; if anyone knows
better, let me know
Example of what won't work:
foreach my $script (@scripts) {
system($script); # no timeout!
}
Thanks,
--Peter
off some scripts from one central location. However, I want to make
sure these scripts exit, and would like to timeout if they don't.
Ideally, I want to grab the output as well, but I can handle that by
redirecting to output files if I need.
Can anyone suggest a way to do this? Can anyone suggest what to look
for?
If I were doing this in a *nix environment, I'd try signals, but I
suspect that cygwin just isn't going to handle them; if anyone knows
better, let me know
Example of what won't work:
foreach my $script (@scripts) {
system($script); # no timeout!
}
Thanks,
--Peter