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)?