Forum Moderators: coopster
I have a problem that hopefuly someone here knows the answer to. I want to do a shell_exec command from PHP.
I then want to continue with the script when the shell program is finished with what it does. Problem here is, that will take approximately one hour. How do I make the script wait until the program that I call in shell_exec is finished?
Any help is appreciated!
Thanx for taking time to read this,
Erik / SNURK
Only thing now is, the file that the program generates will probably be 100+ mb. I know is_file() checks if a file exists, is there a way to check if the file is currently open?
I am unfamiliar with UNIX file creation, and I am not sure how to create a specific file that says it is finished.
Thanx!
Erik / SNURK