equal
deleted
inserted
replaced
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, "-") |