Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Windows run an exe print its output and cut it off after a time

by VinsWorldcom (Parson)
on Oct 12, 2012 at 14:43 UTC ( #998706=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    }
    
    print "\nTimeout! - Time to kill pid: $pid\n"
    
  2. or download this
    VinsWorldcom@C:\Users\VinsWorldcom\tmp> TimeThis test.pl
    
    ...
    TimeThis :    Start Time :  Fri Oct 12 10:42:04 2012
    TimeThis :      End Time :  Fri Oct 12 10:42:06 2012
    TimeThis :  Elapsed Time :  00:00:01.903
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://998706]
help
Chatterbox?
[Discipulus]: Tomas in greek ~140Ad
[Discipulus]: also the 'today bred' was probably 'tomorrow's bred'
[LanX]: Novum Testamentum Graece
[erix]: "give us today our bread from tomorrow" -- that's not going to fly
[choroba]: "for tomorrow"
[Discipulus]: Let's perl: from cpan website how can thou/you tell how many namespaces are beyond App::* ?
[choroba]: Map of CPAN
[LanX]: cpan serach?
[Discipulus]: about bred: 'let our bred levitate (well)'
[Discipulus]: I love maps!

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (9)
As of 2017-11-23 20:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (338 votes). Check out past polls.

    Notices?