Skip to content

Commit 7830ff1

Browse files
committed
On behalf of Richard Atkins: Using DaemonExecutor from commons-exec instead of DefaultExecutor. Fixes issue 4734
1 parent 860db82 commit 7830ff1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: java/client/src/org/openqa/selenium/os/UnixProcess.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
import com.google.common.collect.Maps;
2626

2727
import org.apache.commons.exec.DefaultExecuteResultHandler;
28-
import org.apache.commons.exec.DefaultExecutor;
28+
import org.apache.commons.exec.DaemonExecutor;
2929
import org.apache.commons.exec.ExecuteWatchdog;
3030
import org.apache.commons.exec.Executor;
3131
import org.apache.commons.exec.PumpStreamHandler;
@@ -48,7 +48,7 @@ class UnixProcess implements OsProcess {
4848
private final ByteArrayOutputStream inputOut = new ByteArrayOutputStream();
4949
private volatile String allInput;
5050
private final DefaultExecuteResultHandler handler = new DefaultExecuteResultHandler();
51-
private final Executor executor = new DefaultExecutor();
51+
private final Executor executor = new DaemonExecutor();
5252

5353
private volatile OutputStream drainTo;
5454
private SeleniumWatchDog executeWatchdog = new SeleniumWatchDog(

0 commit comments

Comments
 (0)