src: match cmd.exe case-insensitively in task runner · nodejs/node@d8a0f28 · GitHub
Skip to content

Commit d8a0f28

Browse files
Archkonaduh95
authored andcommitted
src: match cmd.exe case-insensitively in task runner
Use a case-insensitive suffix comparison for ComSpec so uppercase and mixed-case CMD.EXE paths use the correct /c invocation. Signed-off-by: Archkon <180910180+Archkon@users.noreply.github.com> PR-URL: #64907 Reviewed-By: Aviv Keller <me@aviv.sh>
1 parent ad7c670 commit d8a0f28

2 files changed

Lines changed: 27 additions & 1 deletion

File tree

src/node_task_runner.cc

Lines changed: 5 additions & 1 deletion

test/parallel/test-node-run.js

Lines changed: 22 additions & 0 deletions

0 commit comments

Comments
 (0)