in reply to Multiple system commands in parallel
If you use:
for ($x=0; $x < scalar(@files); $x++ ) { $file=@files[$x]; chomp $file; $cmd="start /min clone -F $file "; print "Launching Command is: $cmd\n"; system($cmd); }
The programs will be started asynchronously, running in separate process group (with their own minimised windows), and will neither wait for the processes to complete nor be susceptible to ^C in the parent session.
|
|---|