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