|
How do I direct stdout to the screen, stdin to the keyboard?
OK, I have a java program and a C program. The java program calls the C program, taking control of it's stdout, stdin and stderr. After I have finished sending what I want to send from the java program, is there a way to redirect stdout to the screen and stdin to the keyboard?
I've tried redirecting it "artficially" by sending all output from the C program though the java program to the screen and likewise with the keyboard, but it doesn't work properly.
|