diff options
author | md_5 <git@md-5.net> | 2018-12-01 08:27:24 +1100 |
---|---|---|
committer | md_5 <git@md-5.net> | 2018-12-01 08:27:24 +1100 |
commit | 484ac46a8783ea32c06184d956b771fd6f7bdc37 (patch) | |
tree | 0ac4d4046daca371c3b9c24875aeeb45accf1160 | |
parent | 38861e44fd75b4ccbc42722ec4abbc9e6eb86926 (diff) | |
download | buildtools-484ac46a8783ea32c06184d956b771fd6f7bdc37.tar buildtools-484ac46a8783ea32c06184d956b771fd6f7bdc37.tar.gz buildtools-484ac46a8783ea32c06184d956b771fd6f7bdc37.tar.lz buildtools-484ac46a8783ea32c06184d956b771fd6f7bdc37.tar.xz buildtools-484ac46a8783ea32c06184d956b771fd6f7bdc37.zip |
Name redirector threads
-rw-r--r-- | src/main/java/org/spigotmc/builder/Builder.java | 4 |
1 files 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(); |