diff options
author | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-05-21 17:02:41 +0000 |
---|---|---|
committer | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-05-21 17:02:41 +0000 |
commit | de8212ee3cc4537dde481433b07e873dff21215c (patch) | |
tree | 2e9b25a958359c411ceedc02e001d06ace46d61e /ace/Process.cpp | |
parent | d763489c0dbb45c7b1b48fa8c753c0c1513f47f2 (diff) | |
download | ATCD-de8212ee3cc4537dde481433b07e873dff21215c.tar.gz |
No zombie patch
Diffstat (limited to 'ace/Process.cpp')
-rw-r--r-- | ace/Process.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ace/Process.cpp b/ace/Process.cpp index 3a7606d4cc4..2f4abe189f7 100644 --- a/ace/Process.cpp +++ b/ace/Process.cpp @@ -92,7 +92,8 @@ ACE_Process::spawn (ACE_Process_Options &options) return this->child_id_; #else /* ACE_WIN32 */ // Fork the new process. - this->child_id_ = ACE_OS::fork (options.command_line_argv ()[0]); + this->child_id_ = ACE::fork (options.command_line_argv ()[0], + options.avoid_zombies ()); // If we're not supposed to exec, return the process id. if (ACE_BIT_ENABLED (options.creation_flags (), ACE_Process_Options::NO_EXEC)) @@ -225,6 +226,7 @@ ACE_Process_Options::ACE_Process_Options (int ie, stdin_ (ACE_INVALID_HANDLE), stdout_ (ACE_INVALID_HANDLE), stderr_ (ACE_INVALID_HANDLE), + avoid_zombies_ (0), #endif /* ACE_WIN32 */ set_handles_called_ (0), environment_buf_index_ (0), |