src/Pure/System/command_line.scala
changeset 73340 0ffcad1f6130
parent 71692 f8e52c0152fe
child 73963 59b6f0462086
equal deleted inserted replaced
73339:9efdebe24c65 73340:0ffcad1f6130
    21     def unapplySeq(list: List[String]): Option[List[List[String]]] = Some(chunks(list))
    21     def unapplySeq(list: List[String]): Option[List[List[String]]] = Some(chunks(list))
    22   }
    22   }
    23 
    23 
    24   var debug = false
    24   var debug = false
    25 
    25 
    26   def tool(body: => Unit)
    26   def tool(body: => Unit): Unit =
    27   {
    27   {
    28     val thread =
    28     val thread =
    29       Isabelle_Thread.fork(name = "command_line", inherit_locals = true) {
    29       Isabelle_Thread.fork(name = "command_line", inherit_locals = true) {
    30         val rc =
    30         val rc =
    31           try { body; 0 }
    31           try { body; 0 }