Forum Moderators: coopster
Basically I run my php file, create an output format and at the end call an exec which executes a file.
The problem is that the php does not output the html code on the screen even though the exec is at the end of the php file, it appears that it freezes up.
Is there any way to execute the background process and forget about it while continuing with my program?
exec("test.bat") -- it will take quite some time for the test.bat file to finish its work. (more then 30min)
Any help is welcomed.
I was messing around with exec and passthru and to start larger programs we had some problems executing them. We ended up using shell scripts for controlling the larger programs.
You need to find a way to call it so that it doesn't wait for it to finish. Is this a windows server?