Skip to content

Commit b693609

Browse files
authored
Merge pull request #235 from sylveon/master
Inherit stdio when launching pythonExe, and use shell: true
2 parents b7dfe52 + 9e67b0a commit b693609

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/odmRunner.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ module.exports = {
128128
env.ODM_OPTIONS_TMP_FILE = utils.tmpPath(".json");
129129
env.ODM_PATH = config.odm_path;
130130
let childProcess = spawn(pythonExe, [path.join(__dirname, "..", "helpers", "odmOptionsToJson.py"),
131-
"--project-path", config.odm_path, "bogusname"], { env });
131+
"--project-path", config.odm_path, "bogusname"], { env, stdio: 'inherit', shell: true });
132132

133133
// Cleanup on done
134134
let handleResult = (err, result) => {

0 commit comments

Comments
 (0)