Re: exec in CLI vs. mod_php

From: Date: Fri, 30 May 2003 15:12:13 +0000
Subject: Re: exec in CLI vs. mod_php
References: 1 2 3 4 5 6  Groups: php.internals 
Request: Send a blank email to internals+get-2095@lists.php.net to get a copy of this message
At 18:02 30/05/2003, Wez Furlong wrote:
I *think* that in the case of Brian's question (which applies to the exec(), system() and so on family of PHP functions), we can safely loop throught the descriptors (except for those we will be using to capture or pass-thru the output) and set the close-on-exec flag prior to forking.
Yep, but how do you know which ones are the ones you shouldn't touch? Zeev

« previous php.internals (#2095) next »