BUG: Need to initialize to not use native pipes.
This commit is contained in:
parent
a85060439c
commit
48ee381e6b
|
@ -242,6 +242,14 @@ kwsysProcess* kwsysProcess_New(void)
|
||||||
/* Share stdin with the parent process by default. */
|
/* Share stdin with the parent process by default. */
|
||||||
cp->PipeSharedSTDIN = 1;
|
cp->PipeSharedSTDIN = 1;
|
||||||
|
|
||||||
|
/* No native pipes by default. */
|
||||||
|
cp->PipeNativeSTDIN[0] = -1;
|
||||||
|
cp->PipeNativeSTDIN[1] = -1;
|
||||||
|
cp->PipeNativeSTDOUT[0] = -1;
|
||||||
|
cp->PipeNativeSTDOUT[1] = -1;
|
||||||
|
cp->PipeNativeSTDERR[0] = -1;
|
||||||
|
cp->PipeNativeSTDERR[1] = -1;
|
||||||
|
|
||||||
/* Set initial status. */
|
/* Set initial status. */
|
||||||
cp->State = kwsysProcess_State_Starting;
|
cp->State = kwsysProcess_State_Starting;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue