public class ProcessHelper
extends Object
| Constructor and Description |
|---|
ProcessHelper(File dir,
String... cmd) |
ProcessHelper(String... cmd) |
| Modifier and Type | Method and Description |
|---|---|
ProcessResult |
execute()
Blocking execution.
|
ProcessResult |
execute(String outgoing)
Blocks execution, also passes a single line to the command's input stream.
|
static boolean |
ffs(String... cmd) |
String |
toString() |
public ProcessHelper(String... cmd)
public ProcessHelper(File dir,
String... cmd)
public String toString()
toString in class Objectpublic ProcessResult execute() throws InterruptedException, IOException
InterruptedExceptionIOExceptionpublic ProcessResult execute(String outgoing) throws InterruptedException, IOException
InterruptedExceptionIOExceptionpublic static boolean ffs(String... cmd)