diff --git a/test/parallel/test-child-process-exec-abortcontroller-promisified.js b/test/parallel/test-child-process-exec-abortcontroller-promisified.js index bd5bffc84557c4..ac77d39938d8b6 100644 --- a/test/parallel/test-child-process-exec-abortcontroller-promisified.js +++ b/test/parallel/test-child-process-exec-abortcontroller-promisified.js @@ -12,7 +12,7 @@ const invalidArgTypeError = { const waitCommand = common.isLinux ? 'sleep 2m' : - 'node -e "setInterval(()=>{}, 99)"'; + `${process.execPath} -e "setInterval(()=>{}, 99)"`; { const ac = new AbortController();