From 484ac46a8783ea32c06184d956b771fd6f7bdc37 Mon Sep 17 00:00:00 2001 From: md_5 Date: Sat, 1 Dec 2018 08:27:24 +1100 Subject: Name redirector threads --- src/main/java/org/spigotmc/builder/Builder.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/spigotmc/builder/Builder.java b/src/main/java/org/spigotmc/builder/Builder.java index 8181bff..88552bb 100644 --- a/src/main/java/org/spigotmc/builder/Builder.java +++ b/src/main/java/org/spigotmc/builder/Builder.java @@ -675,8 +675,8 @@ public class Builder final Process ps = pb.start(); - new Thread( new StreamRedirector( ps.getInputStream(), System.out ) ).start(); - new Thread( new StreamRedirector( ps.getErrorStream(), System.err ) ).start(); + new Thread( new StreamRedirector( ps.getInputStream(), System.out ), "System.out redirector" ).start(); + new Thread( new StreamRedirector( ps.getErrorStream(), System.err ), "System.err redirector" ).start(); int status = ps.waitFor(); -- cgit v1.2.3