Community
Participate
Working Groups
The following shell script will hang Eclipse when it is run as an External tool. The problem seems to be that the script is waiting for keyboard input, but Eclipse cannot provide any. #! /bin/sh cat The real problem here is that the cancel button on the progress monitor does not kill execution of the shell script, and recover. The script seems to be run in a state such that the cancelled status of the progress monitor is not being polled.
It's probably because the program runner waits on the process running the external program. We could change it to have a loop to poll the status of the process and then sleep. I guess the question is how likely will someone run an external tool that will prompt for information?
The hang could be avoided if we ran external tools in another thread and avoided the progress monitor.
*** This bug has been marked as a duplicate of 17112 ***