kopia lustrzana https://github.com/OpenDroneMap/NodeODM
Add LD_LIBRARY_PATH to spawn command
rodzic
2720e39f8f
commit
947b8b046e
|
@ -58,7 +58,9 @@ function makeRunner(command, args, requiredOptions = [], outputTestFile = null){
|
|||
}
|
||||
|
||||
// Launch
|
||||
let childProcess = spawn(command, commandArgs);
|
||||
let childProcess = spawn(command, commandArgs, {
|
||||
LD_LIBRARY_PATH: path.join(config.odm_path, "SuperBuild", "install", "lib")
|
||||
});
|
||||
|
||||
childProcess
|
||||
.on('exit', (code, signal) => done(null, code, signal))
|
||||
|
|
Ładowanie…
Reference in New Issue