delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-2.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,TW_YG |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <4DA454E9.6060208@dronecode.org.uk> |
Date: | Tue, 12 Apr 2011 14:34:33 +0100 |
From: | Jon TURNEY <jon DOT turney AT dronecode DOT org DOT uk> |
User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Windows tools can access /usr/share but not /usr/lib |
References: | <31350629 DOT post AT talk DOT nabble DOT com> <BANLkTinh5zkcBPHF=R0w4jNBsT8TzpFBxQ AT mail DOT gmail DOT com> <31370896 DOT post AT talk DOT nabble DOT com> <BANLkTikf+0iLJwBzx4eSN+4i3r1ZARxM0g AT mail DOT gmail DOT com> |
In-Reply-To: | <BANLkTikf+0iLJwBzx4eSN+4i3r1ZARxM0g@mail.gmail.com> |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.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 |
On 12/04/2011 13:36, Reini Urban wrote: > 2011/4/11 Marc Girod: >> Andy Koppe wrote: >>> You should use the cygpath utility to translate Cygwin paths to >>> Windows paths, rather than just changing slashes and prefixing with >>> C:\cygwin. >> OK. Done. >> Now, my script will fork this for every argument... >> Can I spawn a 'cygpath -w', put it in the background, and get it to read >> stdin >> and write to stdout through pipes? A brief glance at the man page should discover 'cygpath -w -f-' > cygwin perl has a fast API for path and mountpoint translation. > > $ perldoc perlcygwin > => Prebuilt methods But this is probably a better solution :-) -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |