Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: control-C to "jumpstart" windows process

by lyklev (Pilgrim)
on Oct 18, 2006 at 18:52 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://579175]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2024-04-19 16:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found