Batch files wait for GUI applications to terminate. The interactive shell does not. Replace
withwperl -e"sleep 10"
start wperl -e"sleep 10"
To get the interactive behaviour in a batch file.
In reply to Re: wperl in cmd file not returning immediately
by ikegami
in thread wperl in cmd file not returning immediately
by Pascal666
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |