Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

System.out question  RSS feed

 
Rob Levo
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Could you please specify how this other process calls the first process.
Is it using exec()... or pipes or whatever...
 
Marilyn de Queiroz
Sheriff
Posts: 9080
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Another process? Another method? Another class? Another application? Another JVM (as in Remote Method Invocation)? Another program (as in Quicken or Word)?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!