Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: control-C to "jumpstart" windows process

by lyklev (Pilgrim)
on Oct 18, 2006 at 18:52 UTC ( #579175=note: print w/replies, xml ) Need Help??


in reply to control-C to "jumpstart" windows process

I don't know if this is causing your problem, but output to console on Win32 is really messed up if you run the script by just typing its name (without 'perl'). Try for example echoing a lot of stuff and redirecting it to a file. A couple of lines works, but if you try to redirect a lot of output, only a part will get redirected.

If this is an option for you, you can either execute the script with 'perl', so

perl somescript.pl
or you can convert the script to a 'bat'-file using pl2bat. It wraps your Perl script in a 'bat'-file.

I am interested if this will do the trick.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://579175]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (6)
As of 2018-01-19 02:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How did you see in the new year?










    Results (215 votes). Check out past polls.

    Notices?