Skip to content

Commit

Permalink
fixtests
Browse files Browse the repository at this point in the history
  • Loading branch information
lihaoyi committed May 23, 2018
1 parent c04bfa1 commit 22e1924
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions main/src/mill/main/MillServerMain.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion scratch/build.sc
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
def thingy = T {
12345678
val blob = (('0' to '9') ++ ('a' to 'z') ++ ('A' to 'Z')).mkString
while(true) print(blob)
}

0 comments on commit 22e1924

Please sign in to comment.