-
Notifications
You must be signed in to change notification settings - Fork 4.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Added shell: true
option to spawnSync
#641
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello, could you explain a little bit more what problem is this trying to solve? Thanks in advance 🙇
It pretty much mirrors this: nodejs/help#728 Basically, when I ran I changed
So it looks like it's failed to parse the commands, but I'm not 100% sure. Following issue I linked up top, I tried adding I'm on Mac with zsh
Any thoughts or insight? |
Thanks for sharing more context - I think the problem is with this logic instead of the need to add |
I think that is true it should be null protected, but I think it should always return a result? I actually tried just adding protection in initially, but it it wasn't running the aws-cli command correctly. EDIT: |
That's interesting why both Could you clarify what do you mean by
what exactly worked? |
Also,
This is why I suggested up the top that it might be an issue with |
Thanks for the clarification, I'm still not sure about the root cause, but unfortunately, I don't have the capacity to dive deeper into this problem. Given that, let's merge your proposal as it seems to resolve the issue and should not break anything. |
shell: true
option to spawnSync
Thank you! |
…rectly.