fix inverted console test (PR 9436)
svn: r10060
This commit is contained in:
parent
bb2d82bfb1
commit
0b7e6e0985
|
@ -7004,9 +7004,9 @@ static long mz_spawnv(char *command, const char * const *argv,
|
||||||
|
|
||||||
/* If none of the stdio handles are consoles, specifically
|
/* If none of the stdio handles are consoles, specifically
|
||||||
create the subprocess without a console: */
|
create the subprocess without a console: */
|
||||||
if (is_fd_terminal((int)startup.hStdInput)
|
if (!is_fd_terminal((int)startup.hStdInput)
|
||||||
&& is_fd_terminal((int)startup.hStdOutput)
|
&& !is_fd_terminal((int)startup.hStdOutput)
|
||||||
&& is_fd_terminal((int)startup.hStdError))
|
&& !is_fd_terminal((int)startup.hStdError))
|
||||||
cr_flag = CREATE_NO_WINDOW;
|
cr_flag = CREATE_NO_WINDOW;
|
||||||
else
|
else
|
||||||
cr_flag = 0;
|
cr_flag = 0;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user