Print something to the standard output

jibanes

Active member
Joined
Jul 16, 2019
Posts
27
Likes
1
Note: Xposting here from General.

On linux (and I suspect on windows and osx); System.out.println() and System.err.println() are both redirected to the log file (output<something>.txt); is it however possible to print something to stdout, meaning to the terminal where the motivewave command was run from?

Thank you for looking.
 
I guess I can simply do this:
PrintStream oldOut=new PrintStream(new FileOutputStream(FileDescriptor.out));
oldOut.println("blah");
 
Top