Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: wperl in cmd file not returning immediately

by ikegami (Patriarch)
on Aug 31, 2009 at 19:21 UTC ( [id://792441]=note: print w/replies, xml ) Need Help??


in reply to wperl in cmd file not returning immediately

Batch files wait for GUI applications to terminate. The interactive shell does not. Replace

wperl -e"sleep 10"
with
start wperl -e"sleep 10"

To get the interactive behaviour in a batch file.

Replies are listed 'Best First'.
Re^2: wperl in cmd file not returning immediately
by Pascal666 (Scribe) on Aug 31, 2009 at 22:29 UTC
    Works perfectly now. Thank you.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://792441]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (5)
As of 2024-04-19 12:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found