Index: tools/build/v2/engine/src/execunix.c =================================================================== --- tools/build/v2/engine/src/execunix.c (revision 66649) +++ tools/build/v2/engine/src/execunix.c (working copy) @@ -258,6 +258,10 @@ close( out[1] ); close( err[1] ); + /* set both file descriptors to non-blocking */ + fcntl(out[0], F_SETFL, O_NONBLOCK); + fcntl(err[1], F_SETFL, O_NONBLOCK); + /* child writes stdout to out[1], parent reads from out[0] */ cmdtab[ slot ].fd[ OUT ] = out[0]; cmdtab[ slot ].stream[ OUT ] = fdopen( cmdtab[ slot ].fd[ OUT ], "rb" );