We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
remy
Learn more about funding links in repositories.
Report abuse
1 parent 43bdacc commit d585386Copy full SHA for d585386
lib/monitor/run.js
@@ -64,7 +64,7 @@ function run(options) {
64
65
const spawnOptions = {
66
env: Object.assign({}, process.env, options.execOptions.env, {
67
- PATH: binPath + path.delimiter + process.env.PATH,
+ PATH: binPath + path.delimiter + options.execOptions.env?.PATH || process.env.PATH,
68
}),
69
stdio: stdio,
70
};
0 commit comments