From 0226b8af3a1353eb13b1d25dc73a1131a7976d79 Mon Sep 17 00:00:00 2001 From: usa Date: Tue, 17 Jun 2008 08:31:41 +0000 Subject: * 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 --- ChangeLog | 5 +++++ win32/win32.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 168a10014..46ae8cab2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Tue Jun 17 17:07:35 2008 NAKAMURA Usaku + + * 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 * 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; } -- cgit