> On 12/1/11, Regan Heath <re...@netmail.co.nz> wrote:
>> you should (ideally) be closing childStdoutWrite and
>> childStdinRead /after/ CreateProcess.  If you don't you get 2 copies of
>> them, one in the child and one in the parent.

Ok so I should move CloseHandle(childStdoutWrite) immediately after a
successful call to CreateProcess? And add CloseHandle for
childStdinRead. I've noticed now childStdinRead was never even closed.

Reply via email to