Index: /trunk/FACT++/src/InterpreterV8.cc
===================================================================
--- /trunk/FACT++/src/InterpreterV8.cc	(revision 14662)
+++ /trunk/FACT++/src/InterpreterV8.cc	(revision 14663)
@@ -220,9 +220,15 @@
     for (int i=1; i<args.Length(); i++)
     {
-        const String::AsciiValue arg(args[i]);
+        string arg = *String::AsciiValue(args[i]);
+
+        // Escape string
         if (args[i]->IsString())
-            command += " \""+string(*arg)+"\"";
-        else
-            command += " "+string(*arg);
+        {
+            boost::replace_all(arg, "\\", "\\\\");
+            boost::replace_all(arg, "'", "\\'");
+            boost::replace_all(arg, "\"", "\\\"");
+        }
+
+        command += " "+arg;
     }
 
