Subject: Re: Windows tools can access /usr/share but not /usr/lib
From: Reini Urban <[email-masked]>
To: [email-masked]
Cc: Marc Girod <[email-masked]>
Date: Tue, 12 Apr 2011 14:36:50 +0200
List-Id: <cygwin.cygwin.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
=> Prebuilt methods

-- 
Reini Urban
http://phpwiki.org/           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