Hello all,

Does anyone know if shell_exec waits to have whatever it was passed to 
be executed before returning to the script?

I am asking that because I need to write a script to compact files to a 
zip and then have it e-mailed to a predefined address.

The files it will compact might have a considerable size and since this 
script will be triggered by a web page I wonder if shell_exec would be 
executed as a separate thread or if it will be the same one.

For me, the ideal thing was to have it wait for the command to be over.

Any suggestions?

Thank you,

Carlos Fernando.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to