delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/12/29/17:32:21

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <33052477.post@talk.nabble.com>
Date: Thu, 29 Dec 2011 14:31:52 -0800 (PST)
From: cxira <teh DOT pigmonkey AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Distributed Git not compiled under Cygwin?
In-Reply-To: <4EFCE87E.9030202@bopp.net>
MIME-Version: 1.0
References: <33047124 DOT post AT talk DOT nabble DOT com> <4EFB8FC1 DOT 7060307 AT bopp DOT net> <4EFB9714 DOT 2070103 AT bopp DOT net> <33049604 DOT post AT talk DOT nabble DOT com> <4EFC834D DOT 5090805 AT bopp DOT net> <33052021 DOT post AT talk DOT nabble DOT com> <4EFCD4A5 DOT 70206 AT bopp DOT net> <33052301 DOT post AT talk DOT nabble DOT com> <4EFCE87E DOT 9030202 AT bopp DOT net>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com


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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019