@Beta public class WindowsProcessGroup extends Object
| 构造器和说明 |
|---|
WindowsProcessGroup(String executable,
String... args) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
checkForError() |
void |
copyOutputTo(OutputStream out) |
int |
destroy() |
void |
executeAsync() |
Map<String,String> |
getEnvironment() |
int |
getExitCode() |
String |
getStdOut() |
boolean |
isRunning() |
void |
setEnvironmentVariable(String name,
String value) |
void |
setInput(String allInput) |
void |
setWorkingDirectory(File workingDirectory) |
void |
waitFor() |
void |
waitFor(long timeout) |
public void copyOutputTo(OutputStream out)
public void setInput(String allInput)
public void setWorkingDirectory(File workingDirectory)
public void executeAsync()
public void waitFor()
throws InterruptedException
public void waitFor(long timeout)
throws InterruptedException
public void checkForError()
public int destroy()
public int getExitCode()
public boolean isRunning()
public String getStdOut()