diff options
author | harrison <harrison@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-07-02 17:53:08 +0000 |
---|---|---|
committer | harrison <harrison@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-07-02 17:53:08 +0000 |
commit | 375b11345c7308daed064f373ac6c627f6423ccb (patch) | |
tree | f29da442c52286da0ca93a873ec0f502ed6983bc /ace/Process.cpp | |
parent | a224dc125eb2dd916c53c629d808a86a04ee2751 (diff) | |
download | ATCD-375b11345c7308daed064f373ac6c627f6423ccb.tar.gz |
Fixed NT version to return child pid from spawn.
Diffstat (limited to 'ace/Process.cpp')
-rw-r--r-- | ace/Process.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ace/Process.cpp b/ace/Process.cpp index 8d714a8451a..bcbe74b8041 100644 --- a/ace/Process.cpp +++ b/ace/Process.cpp @@ -228,7 +228,7 @@ ACE_Process::spawn (ACE_Process_Options &options) &process_info_); if (fork_result) // If success. - return 0; + return this->getpid (); else // CreateProcess failed. return -1; |