External tool process does not terminate? Follow
Hello, I'm running an external tool (a CoffeeScript Cake file) and am having a problem in IDEA. I have this set up as a batch file, and if I run the batch file directly, it works fine, and when I end it (Control-C), the spawned Node processes terminate correctly. However, if I set this batch file up as an External Tool, when I end it (press the Stop button), the console says "Process finished with exit code 1", and the spawned Node processes do not terminate.
I've tried a number of things to get the processes to terminate (including listening for events as described at http://youtrack.jetbrains.com/issue/WEB-1913), but nothing seems to work. Is there some way to properly terminate the spawned processes? Or is this some limitation of the Java Runtime?
Thanks,
Brian
Please sign in to leave a comment.
It's known bug, http://youtrack.jetbrains.com/issue/IDEA-96840
Ah, ok. Thanks, I hadn't seen that ticket just the other one I linked to. I'll keep an eye out for the fix.
Wow, I ran into the same problem doing the same thing - doing a watch of my coffeescript files dir to compile them into my JS directory via bat file and noticed the node processes weren't getting cleaned up in task manager.
I hope they fix this soon :( Quite annoying.
Did you find a workaround for this?
Looks like it is fixed in 12.1. The ticket isn't updated, but terminating the process in 12.1 seems to kill it correctly.
Ok, I may check out the EAP then. Thanks!