in reply to Bidirectional Communication with Another Process

Create a file named "test1" with content
1 Hello, world! 3
and execute a command in console:  type test1 | testfigure.exe 2>test2. If the file "test2" contains three "Hello, World!" lines after this call, then shmem was right and your c++ program uses stderr for output. If he was right, IPC::Open3 is your best friend :)

     s;;Just-me-not-h-Ni-m-P-Ni-lm-I-ar-O-Ni;;tr?IerONim-?HAcker ?d;print

Replies are listed 'Best First'.
Re^2: Bidirectional Communication with Another Process
by duc (Beadle) on Jul 24, 2006 at 13:35 UTC

    Thank you very much for the help.

    I have tried what you suggested but unfortunately it seems it is not my problem, the file test2 is empty. And I have already tried open3 to get the same result than open2... Maybe it is something with windows, I have read some stuffs about it. I think I will try with a com file, maybe it will work. I'll let you know.

    I have looked at the program and processes section but I guess I will give it a closer look. :)