I'm writing a program in C++ that has to interact with an external program, "wish" , to display the GUI. After a call to fork(), the child process calls wish with execlp and the parent process continues processing data. I also call the function pipe twice to create two pipes that allows wish and my program to interact.
The problem I get is that after the call to pipe and fork, cout stops working. Can anybody help me please?