src/Pure/System/isabelle_process.scala
changeset 73367 77ef8bef0593
parent 73340 0ffcad1f6130
child 73802 8d9ac6cfc270
equal deleted inserted replaced
73366:5f388e514ab8 73367:77ef8bef0593
    35           logic = logic, raw_ml_system = raw_ml_system,
    35           logic = logic, raw_ml_system = raw_ml_system,
    36           use_prelude = use_prelude, eval_main = eval_main,
    36           use_prelude = use_prelude, eval_main = eval_main,
    37           modes = modes, cwd = cwd, env = env)
    37           modes = modes, cwd = cwd, env = env)
    38       }
    38       }
    39       catch { case exn @ ERROR(_) => channel.shutdown(); throw exn }
    39       catch { case exn @ ERROR(_) => channel.shutdown(); throw exn }
    40     process.stdin.close
    40     process.stdin.close()
    41 
    41 
    42     new Isabelle_Process(session, channel, process)
    42     new Isabelle_Process(session, channel, process)
    43   }
    43   }
    44 }
    44 }
    45 
    45 
    75     val result = terminated.join
    75     val result = terminated.join
    76     session.stop()
    76     session.stop()
    77     result
    77     result
    78   }
    78   }
    79 
    79 
    80   def terminate: Unit = process.terminate
    80   def terminate(): Unit = process.terminate()
    81 }
    81 }