summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2017-10-02 11:36:19 -0400
committerJunegunn Choi <junegunn.c@gmail.com>2017-10-14 15:26:37 +0900
commitc4185e81e86e339ae2c18e5d9b596b7992ec179b (patch)
tree13877428693578f3e65adcfff08d7f0329f128d9 /shell
parent0580fe9046d038c359645f6e7ed99acfa45b2190 (diff)
downloadfzf-c4185e81e86e339ae2c18e5d9b596b7992ec179b.tar.gz
Fix ExecCommandWith for cmd.exe in Windows (#1072)
Close #1018 Run the command as is in cmd.exe with no parsing and escaping. Explicity set cmd.SysProcAttr so execCommand does not escape the command. Technically, the command should be escaped with ^ for special characters, including ". This allows cmd.exe commands to be chained together. See https://github.com/neovim/neovim/pull/7343#issuecomment-333350201 This commit also updates quoteEntry to use strings.Replace instead of strconv.Quote which escapes more than \ and ".
Diffstat (limited to 'shell')
0 files changed, 0 insertions, 0 deletions