Posted by Greg Donald on 05/11/05 06:31
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/
[Back to original message]
|