Override stop button of run configuration


I am using a custom run configuration in my plugin to call an external application. The problem is that the red stop button does not stop this application properly. Is it possible to override the stop button to add the right stop command for this application?

Thank you in advance!

1 comment

See com.intellij.execution.process.ProcessHandler#addProcessListener(com.intellij.execution.process.ProcessListener)


Please sign in to leave a comment.