in reply to Re^3: Multiple system commands in parallel
in thread Multiple system commands in parallel
The "/B" option appears to do what you want? (ignore CTL-C?)
No. It doesn't:
C:\test>perl -e" system 'start /b c:/perl64/bin/perl.exe -E\"$^|=1; sa +y ++$i while sleep 1\"'; sleep 1000" 1 2 3 4 5 Terminating on signal SIGINT(2) Terminating on signal SIGINT(2)
That's both processes aborting.
Contrast:
C:\test>perl -e" system 'start /min c:/perl64/bin/perl.exe -E\"$^|=1; +say ++$i while sleep 1\"'; sleep 1000" Terminating on signal SIGINT(2)
The initial process terminates, the second process continues to run, outputting to its own window.
|
|---|