exported File.shell_quote;
authorwenzelm
Thu, 15 Oct 2009 15:45:50 +0200
changeset 32943 2cb928848e77
parent 32942 b6711ec9de26
child 32944 ecc0705174c2
exported File.shell_quote;
src/HOL/SMT/Tools/smt_solver.ML
src/Pure/General/file.ML
--- a/src/HOL/SMT/Tools/smt_solver.ML	Thu Oct 15 12:23:24 2009 +0200
+++ b/src/HOL/SMT/Tools/smt_solver.ML	Thu Oct 15 15:45:50 2009 +0200
@@ -114,7 +114,7 @@
 
 fun run_solver ctxt {env_var, remote_name} args output =
   let
-    val qf = File.shell_path and qq = enclose "'" "'"
+    val qf = File.shell_path and qq = File.shell_quote
     val path = getenv env_var and remote = getenv "REMOTE_SMT_SOLVER"
     fun cmd f1 f2 =
       if path <> ""
--- a/src/Pure/General/file.ML	Thu Oct 15 12:23:24 2009 +0200
+++ b/src/Pure/General/file.ML	Thu Oct 15 15:45:50 2009 +0200
@@ -7,6 +7,7 @@
 signature FILE =
 sig
   val platform_path: Path.T -> string
+  val shell_quote: string -> string
   val shell_path: Path.T -> string
   val cd: Path.T -> unit
   val pwd: unit -> Path.T