pipes and processes
I've been wanting to do the exact same thing although I've been trying to allow for a user to enter in keyboard input, which is routed to two programs.
Some interesting advice i've recieved is to write a wrapper program that runs the two programs in question as a process(or aparantly pthreads) and pipes the keyboard input to both. You might want to look up processes and pipes, let me know if you're sucessfull or find something new because im still stuck on implementation.
Last edited by caffeinebot; 05-13-2005 at 09:34 PM.
|