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
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php
