summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorLi Haoyi <haoyi.sg@gmail.com>2018-05-22 23:01:25 -0700
committerLi Haoyi <haoyi.sg@gmail.com>2018-05-22 23:01:25 -0700
commit22e19245e05a43b645c8a65cc9b1266df3a85579 (patch)
tree74eb95004f245abc5dce9676bb821814070cd652 /main
parentc04bfa1c0ee5a51ef5f63ade8e63d1f55f53fa3e (diff)
downloadmill-22e19245e05a43b645c8a65cc9b1266df3a85579.tar.gz
mill-22e19245e05a43b645c8a65cc9b1266df3a85579.tar.bz2
mill-22e19245e05a43b645c8a65cc9b1266df3a85579.zip
fixtests
Diffstat (limited to 'main')
-rw-r--r--main/src/mill/main/MillServerMain.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/src/mill/main/MillServerMain.scala b/main/src/mill/main/MillServerMain.scala
index 2fea4bd8..5ced75eb 100644
--- a/main/src/mill/main/MillServerMain.scala
+++ b/main/src/mill/main/MillServerMain.scala
@@ -114,8 +114,8 @@ class Server[T](lockBase: String,
def handleRun(clientSocket: Socket) = {
val currentOutErr = clientSocket.getOutputStream
- val stdout = new PrintStream(new ProxyOutputStream(currentOutErr, -1), true)
- val stderr = new PrintStream(new ProxyOutputStream(currentOutErr, 1), true)
+ val stdout = new PrintStream(new ProxyOutputStream(currentOutErr, 1), true)
+ val stderr = new PrintStream(new ProxyOutputStream(currentOutErr, -1), true)
val socketIn = clientSocket.getInputStream
val argStream = new FileInputStream(lockBase + "/run")
val interactive = argStream.read() != 0