X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,TW_YG,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: <31370896.post@talk.nabble.com> References: <31350629 DOT post AT talk DOT nabble DOT com> <31370896 DOT post AT talk DOT nabble DOT com> Date: Tue, 12 Apr 2011 14:36:50 +0200 Message-ID: Subject: Re: Windows tools can access /usr/share but not /usr/lib From: Reini Urban To: cygwin AT cygwin DOT com Cc: Marc Girod Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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? cygwin perl has a fast API for path and mountpoint translation. $ perldoc perlcygwin =3D> Prebuilt methods --=20 Reini Urban http://phpwiki.org/=A0 =A0 =A0 =A0 =A0=A0 http://murbreak.at/ -- 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