Fix so manage machines works if yioop dir has, a=chris
Fix so manage machines works if yioop dir has, a=chris
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);