public class RunProcess extends Object
| Constructor and Description |
|---|
RunProcess(String... command) |
| Modifier and Type | Method and Description |
|---|---|
Process |
getRunningProcess() |
boolean |
handleSigInt() |
boolean |
hasJustEnded() |
protected void |
run(Collection<String> args) |
void |
run(String... args) |
public RunProcess(String... command)
public void run(String... args) throws IOException
IOExceptionprotected void run(Collection<String> args) throws IOException
IOExceptionpublic Process getRunningProcess()
nullpublic boolean handleSigInt()
true if the process was stopped.public boolean hasJustEnded()
Copyright © 2014 Pivotal Software, Inc.. All rights reserved.