in reply to Re^3: pipe fork win32
in thread pipe fork win32

While both solutions of yours work, I am going to use this solution, it seems the most reliable (compared to guessing the IO buffer size of day). Thanks.

Replies are listed 'Best First'.
Re^5: pipe fork win32
by BrowserUk (Patriarch) on Aug 26, 2012 at 20:18 UTC
    I am going to use this solution, it seems the most reliable (compared to guessing the IO buffer size of day).

    Agreed.

    The string x nnn wasn't really intended as a solution, just a demonstration of the cause.

    Switching to line buffering for 'interactive communications' is the solution.


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

    RIP Neil Armstrong