Is there something like this for Windows?
exec("nohup /usr/bin/php -f sleep.php > /dev/null 2>&1 &");
It's not that hard (albeit with some minor differences)... You just need to use the WScript.Shell COM object:
WScript.Shell
$shell = new COM("WScript.Shell"); $shell->run($command, 0, false);
That's it...
2.1m questions
2.1m answers
60 comments
57.0k users