org.openqa.selenium.os
Class WindowsProcessGroup
java.lang.Object
org.openqa.selenium.os.WindowsProcessGroup
@Beta
public class WindowsProcessGroup
- extends java.lang.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(java.lang.String executable,
java.lang.String... args)
getEnvironment
public java.util.Map<java.lang.String,java.lang.String> getEnvironment()
setEnvironmentVariable
public void setEnvironmentVariable(java.lang.String name,
java.lang.String value)
copyOutputTo
public void copyOutputTo(java.io.OutputStream out)
setInput
public void setInput(java.lang.String allInput)
executeAsync
public void executeAsync()
waitFor
public void waitFor()
throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException
destroy
public int destroy()
getExitCode
public int getExitCode()
getStdOut
public java.lang.String getStdOut()
Copyright © 2012. All Rights Reserved.