> Date: Sat, 27 Oct 2007 22:48:24 +0700
> From: "Nguyen Thai Ngoc Duy" <[EMAIL PROTECTED]>
> 
> Did I make anything wrong?

You didn't use the O_NOINHERIT flag in the _pipe call, and I think you
should close the original descriptor _before_ you spawn the child, not
after.  See the examples at

  http://msdn2.microsoft.com/en-us/library/edze9h7e(VS.80).aspx

Btw, are you sure that using the default I/O mode in the pipe is a
good idea?  Wouldn't O_BINARY be better?

HTH


_______________________________________________
Make-w32 mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/make-w32

Reply via email to