|
|
|
| Re: Kill External Program Launched by Eclipse [message #945244 is a reply to message #940945] |
Mon, 15 October 2012 06:05  |
Deepak P Messages: 15 Registered: January 2012 |
Junior Member |
|
|
Found a workaround to terminate the externally launched program.
The below code launches the external program.
ILaunchConfiguration configuration = launchConfigurationWorkingCopy.doSave();
configuration.launch(ILaunchManager.RUN_MODE, new NullProgressMonitor());
Once this is done,
configuration.launch() API returns ILaunch.
ILaunch has an API as shown below.
launch.terminate()
By executing the above line, the corresponding externally started program can be terminated.
Regards,
Deepak P
|
|
|
Powered by
FUDForum. Page generated in 0.01624 seconds