Changeset 215
- Timestamp:
- 11/08/02 17:09:16 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/j/src/org/armedbear/j/Shell.java
r164 r215 3 3 * 4 4 * Copyright (C) 1998-2002 Peter Graves 5 * $Id: Shell.java,v 1.1 4 2002-10-19 13:30:35piso Exp $5 * $Id: Shell.java,v 1.15 2002-11-08 17:09:16 piso Exp $ 6 6 * 7 7 * This program is free software; you can redistribute it and/or … … 174 174 public void dispose() 175 175 { 176 Log.debug("Shell.dispose");177 176 if (!checkProcess()) { 178 177 Log.debug("checkProcess returned false"); … … 183 182 { 184 183 try { 185 Log.debug("stdin.write(3)");186 184 stdin.write(3); 187 185 stdin.flush(); 188 Log.debug("stdin.write(\"exit\\n\")");189 186 stdin.write("exit\n"); 190 187 stdin.flush(); … … 202 199 Log.error(e); 203 200 } 204 Log.debug("dispose thread exiting");205 201 } 206 202 }; … … 259 255 if (p != null) 260 256 p.waitFor(); 261 Log.debug("watcher thread waitFor() returned");262 257 setProcess(null); 263 258 if (stdoutThread != null) … … 278 273 if (stderrThread != null) 279 274 SwingUtilities.invokeLater(processExitedRunnable); 280 Log.debug("watcher thread exiting");281 275 } 282 276 };
Note: See TracChangeset
for help on using the changeset viewer.