On Saturday 16 March 2002 06:21, Carlos Fernando Scheidecker Antunes wrote: > 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.
It waits. -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk /* There's so much to say but your eyes keep interrupting me. */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php