The moose likes Beginning Java and the fly likes System.out question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "System.out question" Watch "System.out question" New topic

System.out question

Rob Levo
Ranch Hand

Joined: Oct 01, 2000
Posts: 167
I have a process where I use System.out which puts data to stdout (my screen).
Now I have another process that calls the original process and the System.out commands are not printing to my screen. I guess the System.out in the called process need to be redirected to stdout or something.
Any suggestions, this must be a fairly common situation.
Peter Kristensson
Ranch Hand

Joined: Jul 02, 2001
Posts: 118
Could you please specify how this other process calls the first process.
Is it using exec()... or pipes or whatever...
Marilyn de Queiroz

Joined: Jul 22, 2000
Posts: 9059
Another process? Another method? Another class? Another application? Another JVM (as in Remote Method Invocation)? Another program (as in Quicken or Word)?

"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
I agree. Here's the link:
subject: System.out question
It's not a secret anymore!