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.