diff options
| author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-10-21 06:10:12 +0000 |
|---|---|---|
| committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-10-21 06:10:12 +0000 |
| commit | f39ca14cc529089f6644bad008273666bd1e1a4a (patch) | |
| tree | b9d0d219c99acc62352e437a76c7b378ec2ceb30 | |
| parent | 90e524bb0cd9f43b72dab1de4e81dd51f8d43133 (diff) | |
| download | ruby-f39ca14cc529089f6644bad008273666bd1e1a4a.tar.gz ruby-f39ca14cc529089f6644bad008273666bd1e1a4a.tar.xz ruby-f39ca14cc529089f6644bad008273666bd1e1a4a.zip | |
* win32/win32.c (do_spawn, do_aspawn): should wait child process even
if callded with P_OVERLAY.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | win32/win32.c | 2 |
2 files changed, 7 insertions, 0 deletions
@@ -1,3 +1,8 @@ +Tue Oct 21 15:08:53 2003 NAKAMURA Usaku <usa@ruby-lang.org> + + * win32/win32.c (do_spawn, do_aspawn): should wait child process even + if callded with P_OVERLAY. + Tue Oct 21 00:35:02 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org> * test/soap/calc/*, test/soap/helloworld/*: catch the exception from diff --git a/win32/win32.c b/win32/win32.c index 0e75f431a..cbcecb6f8 100644 --- a/win32/win32.c +++ b/win32/win32.c @@ -758,6 +758,7 @@ char *cmd; case P_NOWAIT: return child->pid; case P_OVERLAY: + WaitForSingleObject(child->hProcess, INFINITE); exit(0); default: return -1; /* not reached */ @@ -848,6 +849,7 @@ char **argv; case P_NOWAIT: return child->pid; case P_OVERLAY: + WaitForSingleObject(child->hProcess, INFINITE); exit(0); default: return -1; /* not reached */ |
