replaced execute by system_out;
authorwenzelm
Thu, 06 Mar 2008 21:07:31 +0100
changeset 26225 3bfc71022dea
parent 26224 5b4e5af10de6
child 26226 7ddf8a34dbd5
replaced execute by system_out;
src/HOL/Modelcheck/EindhovenSyn.thy
src/HOL/Modelcheck/mucke_oracle.ML
--- a/src/HOL/Modelcheck/EindhovenSyn.thy	Thu Mar 06 20:46:41 2008 +0100
+++ b/src/HOL/Modelcheck/EindhovenSyn.thy	Thu Mar 06 21:07:31 2008 +0100
@@ -41,7 +41,7 @@
       val pmu =
         if eindhoven_home = "" then error "Environment variable EINDHOVEN_HOME not set"
         else eindhoven_home ^ "/pmu";
-    in execute ("echo \"" ^ s ^ "\" | " ^ pmu ^ " -w") end;
+    in #1 (system_out ("echo \"" ^ s ^ "\" | " ^ pmu ^ " -w")) end;
 in
   fn thy => fn goal =>
     let
--- a/src/HOL/Modelcheck/mucke_oracle.ML	Thu Mar 06 20:46:41 2008 +0100
+++ b/src/HOL/Modelcheck/mucke_oracle.ML	Thu Mar 06 21:07:31 2008 +0100
@@ -500,7 +500,7 @@
       else mucke_home ^ "/mucke";
     val mucke_input_file = File.tmp_path (Path.basic "tmp.mu");
     val _ = File.write mucke_input_file s;
-    val result = execute (mucke ^ " -nb -res " ^ File.shell_path mucke_input_file);
+    val (result, _) = system_out (mucke ^ " -nb -res " ^ File.shell_path mucke_input_file);
   in
     if not (!trace_mc) then (File.rm mucke_input_file) else (); 
     result