in reply to
Re: Windows run an exe print its output and cut it off after a time
in thread Windows run an exe print its output and cut it off after a time
"Emulated" or not, alarm works fine on Windows. As do both forms of piped open:
C:\test>perl -E"alarm 5; say(),sleep(1) for 1 .. 10"
Terminating on signal SIGALRM(14)
C:\test>perl -E"$p=open I, '-|', 'ver'; say <I>"
Microsoft Windows [Version 6.0.6001]
C:\test>perl -E"$p=open O, '|-', 'find \"1\"'; say O for 1 .. 10"
With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
RIP Neil Armstrong