Skip to main content

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] Mon, 16 November 2009 00:16
Thomas Mauch is currently offline Thomas MauchFriend
Messages: 30
Registered: July 2009

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: Thu Mar 04 13:36:51 GMT 2021

Powered by FUDForum. Page generated in 0.02036 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top