This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Windows tools can access /usr/share but not /usr/lib
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