Is there a way to read output from a currently running program as input to another program in C?
If so, please offer some information on this.
Is there a way to read output from a currently running program as input to another program in C?
If so, please offer some information on this.
I am using UNIX IRIX 6.5.
I will try this, Thank you.
I will let you know.
Is the two programs are independant, you can use the pipe |
ex:
In which case, the output of the program 'prog1' will be sent (piped) to the program 'prog2'Code:prog1 | prog2