recovered public command_line from d92eb5c3960d, which is important for alternative prover processes;
authorwenzelm
Thu, 03 Apr 2014 19:26:39 +0200
changeset 56390 8185044353fd
parent 56389 e49561ae3b65
child 56391 b33df9837850
recovered public command_line from d92eb5c3960d, which is important for alternative prover processes;
src/Pure/System/isabelle_process.scala
--- a/src/Pure/System/isabelle_process.scala	Thu Apr 03 18:39:42 2014 +0200
+++ b/src/Pure/System/isabelle_process.scala	Thu Apr 03 19:26:39 2014 +0200
@@ -74,13 +74,14 @@
 
   /** process manager **/
 
+  def command_line(channel: System_Channel, args: List[String]): List[String] =
+    Isabelle_System.getenv_strict("ISABELLE_PROCESS") :: (channel.isabelle_args ::: args)
+
   private val system_channel = System_Channel()
 
   private val process =
     try {
-      val cmdline =
-        Isabelle_System.getenv_strict("ISABELLE_PROCESS") ::
-          (system_channel.isabelle_args ::: prover_args)
+      val cmdline = command_line(system_channel, prover_args)
       new Isabelle_System.Managed_Process(null, null, false, cmdline: _*)
     }
     catch { case e: IOException => system_channel.accepted(); throw(e) }