Results 1 to 1 of 1
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Jul 2007
Redirecting the output of child process to new xterm
I am developing a application. In this I fork() 3 childs(lets say child1 , child2, child3) . The parent is now waiting for some input from keyboard.Child3 is continously getting data from child1 and child2 using pipe which it then will print using printf.
Now as the parent is waiting for input from user through keyboard while child3 is continously printing the data. I want to do it in different terminals.
Can you please guide me how to proceed ahead so that on one terminal , the parent waits for input from user while on other terminal child3 prints data.
Thanks in advance