Launching Java programs from Java programs

Status
You're currently viewing only Pika's posts. Click here to go back to viewing the entire thread.
Not open for further replies.

Pika

Seniorius Lurkius
21
Originally posted by gubmo:
Edit 2: JJJ - If you are on a Windows system (and perhaps a *nix system), then redirecting from a file will not catch the System.err output.

You can redirect output in such a way that you capture System.err at the cmd line:

program 2>error.txt >standard.txt

should do the trick.

Edit: This is on a Windows box, not sure if you can do this on *nix.
 
Status
You're currently viewing only Pika's posts. Click here to go back to viewing the entire thread.
Not open for further replies.