|
|
| No such thing as a small change | |
| PerlMonks |
Re^3: Windows run an exe print its output and cut it off after a timeby VinsWorldcom (Priest) |
| on Oct 12, 2012 at 17:01 UTC ( #998746=note: print w/ replies, xml ) | Need Help?? |
|
Well blow me down, BrowserUK is correct. I've never gotten alarm() to work reliably on Windows - perhaps because I'm not that versed in Signals and didn't know what I was doing or was trying on a system call without the eval/die as described in alarm; however, alarm() added in my original script works:
And the output
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||