in reply to Interacting with a child process

You say this is about interacting with the Unix shell, but your executable's name ends in .exe. While this isn't impossible, it does lead me to suspect that things are not quite as they seem! Are you running a Windows application on Unix under some emulation? That may lead to all kinds of "fun" with I/O.

Replies are listed 'Best First'.
Re^2: Interacting with a child process
by K_M_McMahon (Hermit) on Feb 10, 2005 at 14:46 UTC
    It really is a C executable written for the ancient HPUX that we are still running. When they compiled it ages ago, the named it .exe.