From 62617789ed43d4d584dc38bdfb80f3cc1cade7d8 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@17376 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- win32/win32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'win32') 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; } -- cgit v1.2.3