The patch is deployed in 18.20.2, 20.12.2, 21.17.3 and also 22.0.0. If the node.js version is lower than just mentioned, this bug will not be triggered.
What is expected?
fix it.
Steps to reproduce
You must pass shell: true in the option on Windows environment if you need to spawn or spawnSync program ended with .bat or .cmd extension.
Basic Info
Extra info
The patch is deployed in 18.20.2, 20.12.2, 21.17.3 and also 22.0.0. If the node.js version is lower than just mentioned, this bug will not be triggered.
What is expected?
fix it.
Steps to reproduce
You must pass
shell: true
in the option on Windows environment if you need tospawn
orspawnSync
program ended with .bat or .cmd extension.https://github.com/nodejs/node/issues/52681#issuecomment-2076426887