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.


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority". I knew I was on the right track :)
In the absence of evidence, opinion is indistinguishable from prejudice.