From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 80191 invoked by alias); 20 Apr 2016 15:31:19 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 80148 invoked by uid 89); 20 Apr 2016 15:31:18 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.5 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=struggling, Word, npm, cygpath X-HELO: csmail.cs.umass.edu Received: from mdc1.cs.umass.edu (HELO csmail.cs.umass.edu) (128.119.240.121) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 20 Apr 2016 15:31:17 +0000 Received: from [192.168.0.19] (c-24-62-203-86.hsd1.ma.comcast.net [24.62.203.86]) by csmail.cs.umass.edu (Postfix) with ESMTPSA id 7A2674000015BCCFDF; Wed, 20 Apr 2016 11:31:15 -0400 (EDT) Reply-To: moss@cs.umass.edu Subject: Re: introduction, fix for npm w.r.t. git, and questions References: To: cygwin@cygwin.com From: Eliot Moss Message-ID: <5717A0BD.9090201@cs.umass.edu> Date: Wed, 20 Apr 2016 15:44:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2016-04/txt/msg00512.txt.bz2 I see no reason why a function similar on concept to what you write, i.e., one that applies cygpath to convert full Windows paths to cygwin style paths, should not work. I have a number of simple function that do the opposite, allowing me to invoke Windows programs (such as Word) with cygwin paths by converting to the equivalent Windows path first. This requires careful attention to quoting and such, but is conceptually not that hard. If you end up struggling with it, I can probably write something suitable for you ... Eliot Moss -- 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