From e26aaa97d9ba245d33e82d42e248f72f50b1e351 Mon Sep 17 00:00:00 2001 From: Stijn Herreman Date: Wed, 23 Feb 2022 17:36:11 +0100 Subject: [PATCH] fix: support windows by using path.delimiter --- lib/monitor/run.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/monitor/run.js b/lib/monitor/run.js index 36a4864a..6e1fa24d 100644 --- a/lib/monitor/run.js +++ b/lib/monitor/run.js @@ -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, };