Commit 1e16807e 1e16807e7bf7991cd801a967704fb86964106bfd by Austin Rasmussen

Support for whitespace for bootstrap/casper_path

Adding quotations around the file path to allow whitespace in the path
for the bootstrap.js file passed to the execution engine and the
CASPER_PATH argument.
1 parent 89cfda79
No preview for this file type
...@@ -149,8 +149,8 @@ class casperjs { ...@@ -149,8 +149,8 @@ class casperjs {
149 var CASPER_COMMAND = new List<string>(ENGINE_EXEC); 149 var CASPER_COMMAND = new List<string>(ENGINE_EXEC);
150 CASPER_COMMAND.AddRange(ENGINE_ARGS); 150 CASPER_COMMAND.AddRange(ENGINE_ARGS);
151 CASPER_COMMAND.AddRange(new [] { 151 CASPER_COMMAND.AddRange(new [] {
152 Path.Combine(Path.Combine(CASPER_PATH, "bin"), "bootstrap.js"), 152 @"""" + Path.Combine(CASPER_PATH, "bin\\bootstrap.js") + @"""",
153 "--casper-path=" + CASPER_PATH, 153 @"--casper-path=""" + CASPER_PATH + @"""",
154 "--cli" 154 "--cli"
155 }); 155 });
156 CASPER_COMMAND.AddRange(CASPER_ARGS); 156 CASPER_COMMAND.AddRange(CASPER_ARGS);
......