[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help on Windows pipe processing

From: Eli Zaretskii
Subject: Re: Help on Windows pipe processing
Date: Sun, 28 Oct 2007 00:38:37 +0200

> Date: Sat, 27 Oct 2007 22:48:24 +0700
> From: "Nguyen Thai Ngoc Duy" <address@hidden>
> 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

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]