Hello,
I've got a page on an application form that runs an executable. I don't return anything from the executable, and I don't want to the script to wait for it before continuing. I just want it to call the executable and forget about it. The executable is self contained, in doesn't return anything back to the script.
I'm currently executing with EXEC like so:
exec("c:\\filename.exe " . $_SESSION['memberId']);
So, I call the executable and pass an argument of the member Id. It works fine, but, I'm wondering if I need to do something to tell it not to wait for the executable to finish. Do I need to add a flag to tell it to run in the background, something like:
exec(" /b c:\\filename.exe" . $_SESSION['memberId']);
Thanks,
Sledge