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 | 62617789ed43d4d584dc38bdfb80f3cc1cade7d8 (patch) | |
tree | 7d45ca83b28037a7bc71494753fc61dcf5d31ee2 /win32 | |
parent | 124aab6ad4b33ac3871d25865fd82fdf30617dbc (diff) | |
download | ruby-62617789ed43d4d584dc38bdfb80f3cc1cade7d8.tar.gz |
* 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
Diffstat (limited to 'win32')
-rw-r--r-- | win32/win32.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |