Skip to content

Commit

Permalink
Set a name for thread started to forward output of external processes (
Browse files Browse the repository at this point in the history
…#13142)

* Set a name for thread started to forward output of external processes

* Add executable to thread name

* Reformat code-changes

* Formatting file

---------

Co-authored-by: Diego Molina <[email protected]>
Co-authored-by: Diego Molina <[email protected]>
  • Loading branch information
3 people authored Nov 15, 2023
1 parent 8cebe10 commit 354c718
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion java/src/org/openqa/selenium/os/ExternalProcess.java
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,9 @@ public ExternalProcess start() throws UncheckedIOException {
Level.WARNING, "failed to copy the output of process " + process.pid(), ex);
}
LOG.log(Level.FINE, "completed to copy the output of process " + process.pid());
});
},
"External Process Output Forwarder - "
+ (builder.command().isEmpty() ? "N/A" : builder.command().get(0)));

worker.start();

Expand Down

0 comments on commit 354c718

Please sign in to comment.