Skip to content

Commit 354c718

Browse files
centic9diemol
andauthored
Set a name for thread started to forward output of external processes (#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]>
1 parent 8cebe10 commit 354c718

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

java/src/org/openqa/selenium/os/ExternalProcess.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,9 @@ public ExternalProcess start() throws UncheckedIOException {
213213
Level.WARNING, "failed to copy the output of process " + process.pid(), ex);
214214
}
215215
LOG.log(Level.FINE, "completed to copy the output of process " + process.pid());
216-
});
216+
},
217+
"External Process Output Forwarder - "
218+
+ (builder.command().isEmpty() ? "N/A" : builder.command().get(0)));
217219

218220
worker.start();
219221

0 commit comments

Comments
 (0)