diff options
author | jxh <jxh@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-06-02 21:34:22 +0000 |
---|---|---|
committer | jxh <jxh@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-06-02 21:34:22 +0000 |
commit | 334f8c989ccb03d70a6936576055ba0c97976e0c (patch) | |
tree | 8e5f4fb81f85b96eda16e0d35de941eccea7b315 /ace/Process.h | |
parent | e6bf3306857a16db7deec313d0594e901dff5458 (diff) | |
download | ATCD-334f8c989ccb03d70a6936576055ba0c97976e0c.tar.gz |
- Fixed ACE_Process::spawn to close descriptors after having
been duped.
- Fixed ACE_Process::spawn to exit () after an error is
encountered in the child process, rather than returning.
- Fixed ACE_Process_Options::set_handles to duplicate handles
that are passed in, and then to close them in the destructor.
Diffstat (limited to 'ace/Process.h')
-rw-r--r-- | ace/Process.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ace/Process.h b/ace/Process.h index 53181496297..df4840cfd3a 100644 --- a/ace/Process.h +++ b/ace/Process.h @@ -172,8 +172,6 @@ protected: // Ensures once only call to inherit environment. STARTUPINFO startup_info_; - int set_handles_called_; - // Is 1 if stdhandles was called. BOOL handle_inheritence_; // Default TRUE. @@ -199,6 +197,9 @@ protected: ACE_HANDLE stderr_; #endif /* ACE_WIN32 */ + int set_handles_called_; + // Is 1 if stdhandles was called. + int environment_buf_index_; // Pointer into environment_buf_. This should point to the next // free spot. |