Hi there,
I try to start an external program and can't wait for it's end (it takes up to several minutes).
Under Linux it works fine with "&",
but how to do with w2k?
I still tried that:
- exec("ex_program.exe filename");
- exec("cmd /c ex_program.exe filename");
- exec("start /b ex_program.exe filename");
And some other combinations (e.g. with "passthru").
But PHP always waits for the end of the specific program, grrrr.
"cmd /c" should work i read before, but it won't.
And it also doesn't work to put the output of the program into a textfile.
So, any ideas ?