@ThreadSafe public final class ProcessX extends Object
Modifier and Type | Method and Description |
---|---|
static Appendable |
appendTo(Appendable a,
Process p,
Charset charset)
Appends the entire output of the process to the specified appendable.
|
static int |
waitForWithoutInterrupt(Process p)
Same as p.waitFor(), but throws an IOException if interrupted.
|
public static Appendable appendTo(Appendable a, Process p, Charset charset) throws IOException
IOException
public static int waitForWithoutInterrupt(Process p) throws IOException
IOException