Re: shell_exec()
| From: | Jason Wong | Date: | Sat, 16 Mar 2002 03:50:06 +0000 |
| Subject: | Re: shell_exec() | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-88730@lists.php.net to get a copy of this message | ||
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.
*/