Changeset 18396 for gli/trunk/src/org
- Timestamp:
- 2009-01-15T16:35:01+13:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gli/trunk/src/org/greenstone/gatherer/shell/GShell.java
r17612 r18396 81 81 /** Arguments to be given to the process (including the executable you are calling. */ 82 82 private String args[] = null; 83 /** The command_output returned from executing a process */ 84 private String commandOutput = null; 85 83 86 /** Elements in process type enumeration. */ 84 87 static final public int BUILD = 0; … … 181 184 } 182 185 186 public String getCommandOutput() { return commandOutput; } 187 public void resetCommandOutput() { commandOutput = null; } 183 188 184 189 private void runRemote(String[] args, BufferedOutputStream bos) … … 218 223 buffered_output_stream = bos; 219 224 String command_output = Gatherer.remoteGreenstoneServer.runScript(collection_name, script_name, script_args, this); 225 this.commandOutput = command_output; 220 226 status = (command_output.equals("") ? CANCELLED : OK); 221 227 }
Note:
See TracChangeset
for help on using the changeset viewer.