Add LD_LIBRARY_PATH to spawn command

pull/91/head
Piero Toffanin 2019-07-15 14:36:39 -04:00
rodzic 2720e39f8f
commit 947b8b046e
1 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -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))