tuned --- potentially more robust (e.g. session.phase_changed vs. isabelle_process.terminated);
--- a/src/Pure/System/isabelle_process.scala Fri Jun 04 22:46:11 2021 +0200
+++ b/src/Pure/System/isabelle_process.scala Fri Jun 04 22:50:32 2021 +0200
@@ -37,9 +37,9 @@
modes = modes, cwd = cwd, env = env)
}
catch { case exn @ ERROR(_) => channel.shutdown(); throw exn }
- process.stdin.close()
val isabelle_process = new Isabelle_Process(session, process)
+ process.stdin.close()
session.start(receiver => new Prover(receiver, session.cache, channel, process))
isabelle_process