summaryrefslogtreecommitdiffstats
path: root/src/main/java/org
diff options
context:
space:
mode:
authormd_5 <git@md-5.net>2018-12-01 08:27:24 +1100
committermd_5 <git@md-5.net>2018-12-01 08:27:24 +1100
commit484ac46a8783ea32c06184d956b771fd6f7bdc37 (patch)
tree0ac4d4046daca371c3b9c24875aeeb45accf1160 /src/main/java/org
parent38861e44fd75b4ccbc42722ec4abbc9e6eb86926 (diff)
downloadbuildtools-484ac46a8783ea32c06184d956b771fd6f7bdc37.tar
buildtools-484ac46a8783ea32c06184d956b771fd6f7bdc37.tar.gz
buildtools-484ac46a8783ea32c06184d956b771fd6f7bdc37.tar.lz
buildtools-484ac46a8783ea32c06184d956b771fd6f7bdc37.tar.xz
buildtools-484ac46a8783ea32c06184d956b771fd6f7bdc37.zip
Name redirector threads
Diffstat (limited to 'src/main/java/org')
-rw-r--r--src/main/java/org/spigotmc/builder/Builder.java4
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();