Fix so manage machines works if yioop dir has, a=chris

Chris Pollett [2012-06-22 20:Jun:nd]
Fix so manage machines works if yioop dir has, a=chris
Filename
lib/crawl_daemon.php
diff --git a/lib/crawl_daemon.php b/lib/crawl_daemon.php
index 90f18874d..2b295e1e5 100644
--- a/lib/crawl_daemon.php
+++ b/lib/crawl_daemon.php
@@ -215,8 +215,8 @@ class CrawlDaemon implements CrawlConstants
             $script = "psexec -accepteula -d php ".
                 $base_dir."\\bin\\$name.php child %s";
         } else {
-            $script = "echo \"php ".
-                BASE_DIR."/bin/$name.php child %s\" | at now ";
+            $script = "echo \"php '".
+                BASE_DIR."/bin/$name.php child %s\"' | at now ";
         }
         $total_options = "$subname $options";
         $at_job = sprintf($script, $total_options);
ViewGit