I am using xampp, in Windows 7.
in my understanding, calling a script this way should run the php.exe asynchronously and not wait for the script to end.
$run_cmd = "cmd c:/xampp/php/php.exe c:/xampp/htdocs/Gashash/batch_test.php";
$oExec = $WshShell->Run($run_cmd, 0, false);
of course:
$run_cmd = "cmd c:/xampp/php/php.exe c:/xampp/htdocs/Gashash/batch_test.php";
exec($run_cmd);
the exec() option doesn't work as desired as it halts the calling process until batch_test.php ends.
I tried using '\' and '\' as well as '/' for the slashes in the path but the script doesn't work!
Any suggestions ?
Thanks!