src/Pure/System/isabelle_system.scala
changeset 39574 91b23d141dbf
parent 39529 4e466a5f67f3
child 39576 48baf61cb888
equal deleted inserted replaced
39573:a874ca3f5474 39574:91b23d141dbf
   290     val (result, rc) = bash_output(script)
   290     val (result, rc) = bash_output(script)
   291     if (rc == 0) result
   291     if (rc == 0) result
   292     else error(result)
   292     else error(result)
   293   }
   293   }
   294 
   294 
   295   def rm_fifo(fifo: String)
   295   def rm_fifo(fifo: String): Boolean =
   296   {
   296     (new File(jvm_path(if (Platform.is_windows) fifo + ".lnk" else fifo))).delete
   297     bash_output("rm -f '" + fifo + "'")
       
   298   }
       
   299 
   297 
   300   def fifo_input_stream(fifo: String): InputStream =
   298   def fifo_input_stream(fifo: String): InputStream =
   301   {
   299   {
   302     if (Platform.is_windows) { // Cygwin fifo as Windows/Java input stream
   300     if (Platform.is_windows) { // Cygwin fifo as Windows/Java input stream
   303       val proc = execute(false, expand_path("$ISABELLE_HOME/lib/scripts/raw_dump"), fifo, "-")
   301       val proc = execute(false, expand_path("$ISABELLE_HOME/lib/scripts/raw_dump"), fifo, "-")