diff options
-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 b15f050ff9..b62adad774 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; } |