earldouglas/sbt-frege

sbt shell freeze after "run" command

Opened this issue · 4 comments

Using the HelloWorld example in the README.md, the sbt shell is just frozen, does not accept any input after the run command.

Confirmed; thanks for the report.

It looks like the generated Java code is hanging on:

frege.runtime.Runtime.stdout.get().close();

Setting fork in run := true works around this, but I don't yet understand why the buffer is blocked from closing.