Lines Matching refs:process

71      * @param workingDirectory The directory the process should have as the
83 * @return The exit code of the process
93 * @return The exit code of the process
107 * @return The exit code of the process
126 Process process = null;
128 process = processBuilder.start();
130 final InputStream errorStream = process.getErrorStream();
140 log.warning("Error during process pipe listening: "
149 handler.processStream(process.getInputStream());
151 ret = process.waitFor();
152 process = null;
157 log.warning("Failed to read from process " + cmdList.get(0)
163 log.warning("Waiting for process interrupted: " + cmdList.get(0)
169 if (process != null) {
170 ret = process.exitValue();
173 process.destroy();
206 * Get the output from the process as a string.
208 * @return The output from the process
220 * Get a reader to read the output from the process
222 * @return A reader reading the process output
229 * Get an input stream read the output from the process
231 * @return A reader reading the process output
238 * Get the output from the process written to the error stream as a string.
240 * @return The error output from the process
252 * Get a reader to read the output the process wrote to the error stream.
254 * @return A reader reading the process error stream
261 * Get an inputstreamto read the output the process wrote to the error stream.
263 * @return An inputstream for reading the process error stream
270 * You should use the StreamHandler interface if you would like to process
271 * the output from a process while it is running
277 * called _once_ during the lifetime of the process, and you should
278 * process all of the input you want before returning from the function.