This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
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


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "System.out question" Watch "System.out question" New topic
Author

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
Sheriff

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


JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: System.out question