@Beta public class WindowsProcessGroup extends Object
Constructor and Description |
---|
WindowsProcessGroup(String executable,
String... args) |
Modifier and Type | Method and Description |
---|---|
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
InterruptedException
public void waitFor(long timeout) throws InterruptedException
InterruptedException
public void checkForError()
public int destroy()
public int getExitCode()
public boolean isRunning()
public String getStdOut()
Copyright © 2016. All rights reserved.