How to stop process started with an Eclipse external tools configuration

Viewed 2875

I have a Windows .bat file that starts a java program. For the sake of convenience I have created an Eclipse external tools configuration to start it directly from the IDE and to read its standard output from the Eclipse console.

However, when I terminate the process from Eclipse with the terminate button (the red square) in the Console view, the program is still running.

How to kill it from Eclipse (without creating a separate launch configuration that will search it and kill it programmatically)?

3 Answers

When you run a external tool, it starts a console on Eclipse.

You just have to select and stop that console on the toolbar on the top right of the current eclipse console.

  1. Show the running consoles: Click the "display selected console" tool arrow (small computer to the right of the console toolbar).
  2. Select the external application console: Click the line with the command that runs your application (dropdown menu).
  3. Stop the application: Click the stop button (red square to the left of the console toolbar).

Eclipse console toolbar with a red circle on the "display selected console" tool and a blue circle is the "stop" tool

Related