class Proc
extends java.lang.Object
stdout/stderr of the process will be sent to the specified stream.
Modifier and Type | Class and Description |
---|---|
private static class |
Proc.CopyThread |
Modifier and Type | Field and Description |
---|---|
private java.lang.Thread |
err |
private java.lang.Thread |
out |
private java.lang.Process |
proc |
Constructor and Description |
---|
Proc(java.lang.String cmdLine)
Launches a process
|
Proc(java.lang.String cmdLine,
java.io.OutputStream stdout,
java.io.OutputStream stderr)
Launches a process
|
Modifier and Type | Method and Description |
---|---|
int |
join() |
private final java.lang.Process proc
private java.lang.Thread out
private java.lang.Thread err
public Proc(java.lang.String cmdLine) throws java.io.IOException
java.io.IOException
public Proc(java.lang.String cmdLine, java.io.OutputStream stdout, java.io.OutputStream stderr) throws java.io.IOException
java.io.IOException
Copyright © 2003-2005 Kohsuke Kawaguchi. All Rights Reserved.