child_process.spawn double quotes problem in [args] parameters. #10461
Labels
child_process
Issues and PRs related to the child_process subsystem.
question
Issues that look for answers.
And I have problem if I use double quotes in child_process.spawn [args] parameters.
Example:
let ps = spawn('ant.bat', ['-propertyfile ', prop1, '-propertyfile ', prop2, '-Dgit.branch='+branch, '-Dinstallfile.suffix="'+prop4+'"'];
As result I got an error in my code, because normalizeSpawnArguments() take all command string in double quotes too. So please try to handle this situation in normalizeSpawnArguments or describe this limitation in the docs.
The text was updated successfully, but these errors were encountered: