org.openqa.selenium.os
Class WindowsProcessGroup
java.lang.Object
org.openqa.selenium.os.WindowsProcessGroup
@Beta
public class WindowsProcessGroup
- extends Object
Utility class for grouping a set of processes into a process group on
Windows. This is primarily used for processes that spawn child processes and
then disconnect from them: killing the parent process should kill the
children too. That sounds a bit more sinsiter than it actually is.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WindowsProcessGroup
public WindowsProcessGroup(String executable,
String... args)
getEnvironment
public Map<String,String> getEnvironment()
setEnvironmentVariable
public void setEnvironmentVariable(String name,
String value)
copyOutputTo
public void copyOutputTo(OutputStream out)
setInput
public void setInput(String allInput)
executeAsync
public void executeAsync()
waitFor
public void waitFor()
throws InterruptedException
- Throws:
InterruptedException
destroy
public int destroy()
getExitCode
public int getExitCode()
getStdOut
public String getStdOut()
Copyright © 2012. All Rights Reserved.