Switch to double quotes for escaping#114
Conversation
When the extension runs in Windows, for cli commands CMD is used. CMD does not treat single quotes as a special character which causes problems
|
Oh thanks for the PR and details |
|
I've published the change, let me know if it works for you |
|
The new version works on Windows :) Thanks for the quick merge! Something that I thought of in the meantime: |
|
I tried execa package and that seems to work well for this specific case, but has other issues |
|
This is the only flag in cli.ts that has quotes so I don't think it's worth changing how the app compiles just for that. Plus, removing the quotes in string might work too for Windows + Unix. But if it's working now as is, I'll not tinker more with removing quotes. |
|
@MichaelCurrin I thought about removing quotes altogether too, and decided against it, because And I do agree, that keeping it as is, until another issue manifests is the reasonable thing to do :) I added a comment on the implementation in #115 regarding what I was aiming for with the call without the use of a shell :) |
When the extension runs in Windows, for cli commands CMD is used. CMD does not treat single quotes as a special character which causes problems