I'd like to know how I can run the same script twice (on the command line or even in my browser) so that I can get overlapping outputs on my windows machine. So, for instance if the script were something simplistic like the following:[PHP]<?php
while(true){
fwrite(STDOUT, "Process ID: " . getmypid() . "\n");
sleep(1);
}
?>[/PHP]The output in the command line would be something along the lines of:
Process ID: 3894
Process ID: 3894
Process ID: 3894
Process ID: 2295
Process ID: 3894
Process ID: 2295
...