Is the two programs are independant, you can use the pipe |
ex:
Code:
prog1 | prog2
In which case, the output of the program 'prog1' will be sent (piped) to the program 'prog2'