diff --git a/main/src/mill/main/MillServerMain.scala b/main/src/mill/main/MillServerMain.scala index 2fea4bd8c4b..5ced75eba13 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 ae763e4d767..9842039e438 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