Changeset 5923
- Timestamp:
- 2003-11-20T17:41:35+13:00 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/shell/GShell.java
r5908 r5923 215 215 } 216 216 // Hopefully this won't block if the process is trying to write to STDERR 217 if(stdisr.ready()) {217 else if(stdisr.ready()) { 218 218 int c = stdisr.read(); 219 219 if(c == '\n' || c == '\r') { … … 228 228 else { 229 229 stdline_buffer.append((char)c); 230 } 231 } 232 else { 233 try { 234 sleep(100); 235 } 236 catch(Exception exception) { 230 237 } 231 238 }
Note:
See TracChangeset
for help on using the changeset viewer.