How can you run multiple exec instances from a for loop and run them separately (i.e. not have one dependent on another finishing before starting another)? I have the following code which is hopefully self explanatory:
for ($i = 0;$i < 5;$i++){
exec('START '.$path.' '.PATH.'spawn.php "'."$type,$core".'"');
}
I have looked at php in background exec() function but it isn't a duplicate as I am using the START command and adding an & did not fix it.
I have tried /B as an option but additionally this didn't work - it just ran it in the background.