3 ms·
LOL, just last night I was updating my start-ssh-agent[1] script for bash in windows to parallel the logic of the cmd file that comes with msysgit[2]. I spent
by tracker1 11y ago
LOL, just last night I was updating my start-ssh-agent[1] script for bash in windows to parallel the logic of the cmd file that comes with msysgit[2]. I spent hours trying to figure out a way to pass `/IM` to taskkill without it expanding out to `/c/.../IM` from bash itself... before finally finding a solution[3], when I stopped searching for a generic answer[4].
Painful to say the least.
[1] https://github.com/tracker1/msysgit/blob/patch-1/bin/start-ssh-agent.sh https://github.com/tracker1/msysgit/blob/patch-1/bin/start-s...
[2] https://github.com/msysgit/msysgit/blob/master/cmd/start-ssh-agent.cmd https://github.com/msysgit/msysgit/blob/master/cmd/start-ssh...
[3] http://stackoverflow.com/questions/34647591/passing-windows-slash-based-parameters-to-a-program-from-bash-script/ http://stackoverflow.com/questions/34647591/passing-windows-...
[4] http://stackoverflow.com/questions/30195353/trouble-running-taskkill-from-gitbash/34179983#34179983 http://stackoverflow.com/questions/30195353/trouble-running-...