diff options
-rw-r--r-- | main/src/mill/main/MillServerMain.scala | 4 | ||||
-rw-r--r-- | scratch/build.sc | 3 |
2 files changed, 4 insertions, 3 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 diff --git a/scratch/build.sc b/scratch/build.sc index ae763e4d..9842039e 100644 --- a/scratch/build.sc +++ b/scratch/build.sc @@ -1,3 +1,4 @@ def thingy = T { - 12345678 + val blob = (('0' to '9') ++ ('a' to 'z') ++ ('A' to 'Z')).mkString + while(true) print(blob) }
\ No newline at end of file |