Skip to content

Commit

Permalink
fix: support windows by using path.delimiter
Browse files Browse the repository at this point in the history
  • Loading branch information
stijnherreman authored and remy committed Apr 29, 2022
1 parent 9d1afd7 commit e26aaa9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/monitor/run.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ function run(options) {

const spawnOptions = {
env: Object.assign({}, process.env, options.execOptions.env, {
PATH: binPath + ':' + process.env.PATH,
PATH: binPath + path.delimiter + process.env.PATH,
}),
stdio: stdio,
};
Expand Down

0 comments on commit e26aaa9

Please sign in to comment.