wangtao0101 / vscode-debug-leetcode

vscode debug extension for leetcode, can work with vscode-leetcode
https://marketplace.visualstudio.com/items?itemName=wangtao0101.debug-leetcode
MIT License
48 stars 10 forks source link

Fix path quotation #3

Closed tete1030 closed 4 years ago

tete1030 commented 4 years ago

When spaces exist in any of these paths, like "C:\Program Files\VSCode\data\extensions", this command will fail because spaces are auto separated when execution. Just separating string args to array items is not enough. In windows, windowsVerbatimArguments will be auto set, hence spaces are still used as delimiters unless this option is specifically disabled.

tete1030 commented 4 years ago

yesterday when testing I didn't compile, just changed js files. After compiling, I noticed windowsVerbatimArguments wasn't compatible with child_process version within vscode. Disabling shell option works.

wangtao0101 commented 4 years ago

@tete1030 Thank you very much.