Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Capture output and exit status a launched Java program
Capture output and exit status a launched Java program [message #498222] Sun, 15 November 2009 19:16
Thomas Mauch is currently offline Thomas Mauch
Messages: 29
Registered: July 2009
Junior Member

I would like to launch a Java programm using Eclipse, redirect its output to the Eclipse console and then - after it has finished running - detect its exit status und print it to the console as well.

I succeed in launching the Java program using the information provided in F, but I am not able to get the two other task done.

So how can I
- launch a Java program so its output gets written to the Eclipse console (as it happens if I run my Java programm in the IDE and check the allocate console option)?
- detect that my launched Java program has finished and detects its exit status?

Many thanks in advance,

Previous Topic:disable copy/paste/rename of files with particular extension
Next Topic:Common Navigator - Label Provider
Goto Forum:

Current Time: Tue Sep 02 00:23:31 EDT 2014

Powered by FUDForum. Page generated in 0.09037 seconds