It is a common question, but I can't work out after searching a long time on Google.
Here http:// wiki.eclipse.org/Eclipse_Plug-in_Development_FAQ#How_do_I_in voke_a_process_and_have_its_output_managed_by_the_.27Console .27_view.3F
In my ILaunchConfigurationDelegate implementation,
Process p = DebugPlugin.exec(..........................);
IProcess process = DebugPlugin.newProcess(launch, p, "My Process");
Now, how can I capture the output of Process p?
Any comments are appreciated.
And here http:// wiki.eclipse.org/FAQ_How_do_I_write_to_the_console_from_a_pl ug-in_%3F
says how to write to the console, But It seems a little different of capture output from another process
Anybody help me, it is my priority of work. Thanks, thanks, thanks!!
[Updated on: Mon, 17 May 2010 23:20] by Moderator