We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d53feb5 + 95d69f2 commit d741d3fCopy full SHA for d741d3f
1 file changed
libs/odmRunner.js
@@ -30,9 +30,15 @@ module.exports = {
30
assert(projectName !== undefined, "projectName must be specified");
31
assert(options["project-path"] !== undefined, "project-path must be defined");
32
33
- const command = path.join(config.odm_path, os.platform() === "win32" ? "run.bat" : "run.sh"),
+ let command = path.join(config.odm_path, os.platform() === "win32" ? "run.bat" : "run.sh"),
34
params = [];
35
36
+ if (os.platform() === "win32"){
37
+ // On Windows, we need to add quotes around the file path
38
+ // otherwise it doesn't work when there are spaces in the path
39
+ command = `"${command}"`;
40
+ }
41
+
42
for (var name in options){
43
let value = options[name];
44
0 commit comments