Index: LocalShellThread.java =================================================================== RCS file: /cvsroot/dsdp/org.eclipse.tm.rse/plugins/org.eclipse.rse.services.local/src/org/eclipse/rse/internal/services/local/shells/LocalShellThread.java,v retrieving revision 1.7 diff -u -r1.7 LocalShellThread.java --- LocalShellThread.java 7 Oct 2006 22:47:14 -0000 1.7 +++ LocalShellThread.java 25 Oct 2006 05:35:07 -0000 @@ -393,6 +393,8 @@ catch (IOException e) { System.out.println(e); + // make the thread exit; + _isShell = false; } } @@ -438,7 +440,7 @@ public boolean doThreadedWork() { - if (_stdInput == null) + if (_stdInput == null || _isShell == false) { return false; }