Bash in Git for Windows: Weirdness when running a command with CMD.exe /C with args

前端 未结 7 2238
后悔当初
后悔当初 2020-12-05 02:55

This is more of an annoyance rather than a problem but I would very much like to understand the semantics here.

All I want to do is to run an arbitrary command on a

相关标签:
7条回答
  • 2020-12-05 03:22

    This seems to work under 1.9.5.msysgit.1

    !foo=`bar`
    cmd //c \\\\unc-path\\with\\slashes -args \"Quoted Arguments $foo\"
    
    0 讨论(0)
提交回复
热议问题