diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-06-17 08:31:41 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-06-17 08:31:41 +0000 |
commit | 0226b8af3a1353eb13b1d25dc73a1131a7976d79 (patch) | |
tree | 7d45ca83b28037a7bc71494753fc61dcf5d31ee2 | |
parent | ec5ea85741e6d0b545e853b6e64c223710ebd35c (diff) | |
download | ruby-0226b8af3a1353eb13b1d25dc73a1131a7976d79.tar.gz ruby-0226b8af3a1353eb13b1d25dc73a1131a7976d79.tar.xz ruby-0226b8af3a1353eb13b1d25dc73a1131a7976d79.zip |
* win32/win32.c (CreateChild): no need to inherit handles here because
spawn'ed child cannot detect that STDIN is closed.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17376 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | win32/win32.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Tue Jun 17 17:07:35 2008 NAKAMURA Usaku <usa@ruby-lang.org> + + * win32/win32.c (CreateChild): no need to inherit handles here because + spawn'ed child cannot detect that STDIN is closed. + Tue Jun 17 06:32:55 2008 NARUSE, Yui <naruse@ruby-lang.org> * dir.c (dir_data): add intenc and extenc. diff --git a/win32/win32.c b/win32/win32.c index b15f050ff..b62adad77 100644 --- a/win32/win32.c +++ b/win32/win32.c @@ -878,7 +878,7 @@ CreateChild(const char *cmd, const char *prog, SECURITY_ATTRIBUTES *psa, if (!psa) { sa.nLength = sizeof (SECURITY_ATTRIBUTES); sa.lpSecurityDescriptor = NULL; - sa.bInheritHandle = TRUE; + sa.bInheritHandle = FALSE; psa = &sa; } |