I am creating a SWT Application which invokes an external executable (say abc.exe) in java.lang.Process
. This new process is created on 'Start' button on my composite.
The problem is that if the executbale abc.exe hangs; my entire SWT shell hangs! So I thought of adding new button called 'Stop' so the user can easily kill the hung process, but since everything executes in a single thread I am not able to press 'Stop' also.
Can anyone tell me/show me how best way I can solve this problem.
Many Thanks, Tor