Re: Exec don't work
| From: | Greg Donald | Date: | Wed, 11 May 2005 03:31:34 +0000 |
| Subject: | Re: Exec don't work | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-214895@lists.php.net to get a copy of this message | ||
On 5/10/05, Richard Lynch <ceo@l-i-e.com> wrote:
> I use exec() instead of system()
>
> I find it's rare that I don't want to capture the resulting output (arg 2)
> and do something intelligent if the OS returns an error (arg 3)
For some reason I always thought exec() only took a single argument.
That 3rd argument will come in handy now that I know about it. Learn
something new everyday. :)
--
Greg Donald
Zend Certified Engineer
http://destiney.com/