Jeremy Bopp-3 wrote: > > Good stuff. You can avoid the window that pops up by using the run.exe > program to kick off your chmod command rather than bash. It's available > in the run package. > I think the window is actually cmd.exe since this is a Windows gVim. That said, I switched the bash to run and tried the command prompt "start" (like & in Unix) and it actually doesn't even appear at all now. Beautiful!
silent execute "!start C:\\cygwin\\bin\\run.exe /usr/bin/chmod 0644 '" . substitute(expand("<afile>"), "^\\(.\\):/", "/cygdrive/\\1/", "") . "'" -- View this message in context: http://old.nabble.com/Distributed-Git-not-compiled-under-Cygwin--tp33047124p33052477.html Sent from the Cygwin list mailing list archive at Nabble.com. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple