in reply to Not returning from batch file
'exit /b' exits the script but not the command interpreter according to 'help exit'. Sounds to me like Perl is waiting for cmd to die. Remove 'exit /b' and try again or close out the new command box opened by the batch file and see if your Perl script starts again.
Update: I just tried it with a toy version and like ikegami I don't see the problem. I'm using XP. I was mistaken in thinking system() opened another dos box.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Not returning from batch file
by ikegami (Patriarch) on Aug 17, 2011 at 21:47 UTC |