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
Member
Hi,

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 http://wiki.eclipse.org/FAQ_How_do_I_launch_a_Java_program%3 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,
Thomas

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


Current Time: Tue Mar 19 08:57:10 GMT 2024

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

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

Back to the top