Hi,
I'm writing a program in C on Linux and I need child processes (forked) to send their output to a separate terminal window. I have googled numerous times and cannot figure it out...
I've tried opening /dev/pts/1 as a file stream and
fprintf(Child_Terminal, "text");
But this does not work, and I cannot think of another way to do it.
Thanks!
I'm writing a program in C on Linux and I need child processes (forked) to send their output to a separate terminal window. I have googled numerous times and cannot figure it out...
I've tried opening /dev/pts/1 as a file stream and
fprintf(Child_Terminal, "text");
But this does not work, and I cannot think of another way to do it.
Thanks!