src/Pure/System/isabelle_system.scala
changeset 54690 cd88b44623bf
parent 54645 c19c83f49fa5
child 54880 ce5faf131fd3
--- a/src/Pure/System/isabelle_system.scala	Sat Dec 07 12:52:31 2013 +0100
+++ b/src/Pure/System/isabelle_system.scala	Sat Dec 07 13:10:56 2013 +0100
@@ -419,6 +419,12 @@
     }
   }
 
+  def open(arg: String): Unit =
+    bash("exec \"$ISABELLE_OPEN\" '" + arg + "' >/dev/null 2>/dev/null &")
+
+  def pdf_viewer(arg: Path): Unit =
+    bash("exec \"$PDF_VIEWER\" '" + standard_path(arg) + "' >/dev/null 2>/dev/null &")
+
 
 
   /** Isabelle resources **/