This is the mail archive of the
mailing list for the Cygwin project.
Re: Pass windows-style paths to the interpreter from the shebang line ?
Sorry to reply again, but I hit send too early...
On 11/9/2011 09:29, Corinna Vinschen wrote:
> That's not as easy as it may sound. What about creating wrapper scripts
> with the same name in another dir and put that dir in front of the other
> bin dir in $PATH? The wrapper scripts could be shell scripts which use
> `cygpath -wa' to convert the path to DOS notation and then call php.
Does php not have an equivalent of the -S option (search the PATH for
the named script) that perl and ruby have? I've used that many times to
deal with cases where people have Windows-native builds of those tools
instead of the Cygwin ones for whatever reason.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple