Skip to content

Conversation

mshanemc
Copy link
Contributor

@mshanemc mshanemc commented Apr 24, 2024

execInteractiveCmd has a problem with spaces (it does split on ' ') but that also hits the spaces inside double quotes in flag values like --flag "space here"

This provides the alternative to pass in the normal "argv" structure like execInteractiveCmd(['mycmd', '--flag', '"space here"'])

also cleaned up some param-reassign linter stuff in execCmd module

used here (proof of correctness) salesforcecli/plugin-deploy-retrieve#988

@mshanemc mshanemc merged commit 9819b52 into main Apr 25, 2024
@mshanemc mshanemc deleted the sm/spaces-in-execInteractive branch April 25, 2024 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants