Closed mattfel1 closed 5 years ago
Just ran into this as well. I'm not sure why the external process is shutting down, but gonna try a workaround to just reopen it when this happens
Yay! Students have seen this on corn and on their own computers but I've never been able to reproduce it anywhere, even when I installed on corn myself.
Scratch that.. looks like the issue I was seeing was a simple binary incompatibility issue, just had to recompile emptiness. If a student sees that issue again, try changing BackgroundProcess.scala to include:
def send(line: String): Unit = {
if (p eq null) run()
try {
writer.write(line + "\n")
writer.flush()
}
catch {case _:Throwable =>
checkErrors()
}
}
Hopefully this'll give a slightly more useful error message as to why the process closed.
Seen it in a few places now but have no idea how to reproduce it: