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