1
0
mirror of https://github.com/sasjs/server.git synced 2026-01-04 21:30:05 +00:00

chore: verify executable paths

This commit is contained in:
2022-06-17 18:12:03 +05:00
parent 158acf1f97
commit ab222cbaab
7 changed files with 59 additions and 6 deletions

View File

@@ -349,7 +349,7 @@ const processProgram = async (
// waiting for the open event so that we can have underlying file descriptor
await once(writeStream, 'open')
execFileSync('node', [codePath], {
execFileSync(process.nodeLoc, [codePath], {
stdio: ['ignore', writeStream, writeStream]
})