Bojan Smojver wrote:
On Tue, 2009-03-03 at 17:02 -0600, William A. Rowe, Jr. wrote:No; the apr_file_open_stderr structure is still -wrong-.Maybe we should then just call apr_file_inherit_set() inside apr_file_open_stdin/stdout/stderr() to make sure these get inherited. Is this what you were referring to?
Setting the flag is sufficient. The fact that a handle shouldn't be closed on exec in an apr-sense makes no difference to whether it should be closed on non-apr exec() calls.