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

Reply via email to