kopia lustrzana https://github.com/OpenDroneMap/NodeODM
Merge pull request #235 from sylveon/master
Inherit stdio when launching pythonExe, and use shell: truepull/237/head
commit
b69360929a
|
@ -128,7 +128,7 @@ module.exports = {
|
|||
env.ODM_OPTIONS_TMP_FILE = utils.tmpPath(".json");
|
||||
env.ODM_PATH = config.odm_path;
|
||||
let childProcess = spawn(pythonExe, [path.join(__dirname, "..", "helpers", "odmOptionsToJson.py"),
|
||||
"--project-path", config.odm_path, "bogusname"], { env });
|
||||
"--project-path", config.odm_path, "bogusname"], { env, stdio: 'inherit', shell: true });
|
||||
|
||||
// Cleanup on done
|
||||
let handleResult = (err, result) => {
|
||||
|
|
Ładowanie…
Reference in New Issue