2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-17 01:32:12 +00:00

Let the child bjam commands inherit stdin, as some commands assume it's available. (fixes #1577)

[SVN r49883]
This commit is contained in:
Rene Rivera
2008-11-23 02:37:44 +00:00
parent a40f815bca
commit 9e76c95c1d

View File

@@ -403,6 +403,9 @@ void exec_cmd
si.hStdError = cmdtab[ slot ].pipe_out[ 1 ];
}
/* Let the child inherit stdin, as some commands assume it's available. */
si.hStdInput = GetStdHandle(STD_INPUT_HANDLE);
/* Save the operation for exec_wait() to find. */
cmdtab[ slot ].func = func;
cmdtab[ slot ].closure = closure;