You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see that there is code that's meant to catch when users run console without the -i/--interactive flag but it doesn't seem to be working. Instead of seeing the error message there, I see:
Exception in thread "main" java.lang.IllegalStateException: Unable to create a system terminal
at org.jline.terminal.TerminalBuilder.doBuild(TerminalBuilder.java:323)
at org.jline.terminal.TerminalBuilder.build(TerminalBuilder.java:265)
at dotty.tools.repl.JLineTerminal.<init>(JLineTerminal.scala:25)
at dotty.tools.repl.ReplDriver.runUntilQuit(ReplDriver.scala:143)
at dotty.tools.repl.ReplDriver.tryRunning(ReplDriver.scala:134)
at dotty.tools.repl.Main$.main(Main.scala:7)
at dotty.tools.repl.Main.main(Main.scala)
1 targets failed
test.console java.lang.Exception: Interactive Subprocess Failed (exit code 1)
mill.util.Jvm$.runSubprocess(Jvm.scala:184)
mill.util.Jvm$.runSubprocessWithBackgroundOutputs(Jvm.scala:152)
mill.util.Jvm$.runSubprocess(Jvm.scala:88)
mill.scalalib.ScalaModule.$anonfun$console$2(ScalaModule.scala:369)
scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18)
scala.util.DynamicVariable.withValue(DynamicVariable.scala:59)
scala.Console$.withErr(Console.scala:193)
mill.api.SystemStreams$.$anonfun$withStreams$2(SystemStreams.scala:62)
scala.util.DynamicVariable.withValue(DynamicVariable.scala:59)
scala.Console$.withOut(Console.scala:164)
mill.api.SystemStreams$.$anonfun$withStreams$1(SystemStreams.scala:61)
scala.util.DynamicVariable.withValue(DynamicVariable.scala:59)
scala.Console$.withIn(Console.scala:227)
mill.api.SystemStreams$.withStreams(SystemStreams.scala:60)
mill.scalalib.ScalaModule.$anonfun$console$1(ScalaModule.scala:374)
mill.define.Task$TraverseCtx.evaluate(Task.scala:71)
I see that there is code that's meant to catch when users run
console
without the-i
/--interactive
flag but it doesn't seem to be working. Instead of seeing the error message there, I see:Here's a repository that reproduces it: https://github.com/mrdziuban/mill-console-test
The text was updated successfully, but these errors were encountered: