I've already presented the solution
'scuse me for being 1 minute behind you in posting.
If the OP doesn't want to wait for the child to finish
Since he didn't specify, I pointed him at the documentation.
and you need to use quotes,
Nope! This works:
c:\test>type DigThis.bat @echo I'm diggin' it c:\test>p1 [0] Perl> system "start c:\\test\\DigThis.bat";;
But this doesn't!
[0] Perl> system("start \"\" \"c:\test\DigThis.bat\"");
In reply to Re^3: Call batch script in new command / DOS window
by BrowserUk
in thread Call batch script in new command / DOS window
by Olaf
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |