Pass windows-style paths to the interpreter from the shebang line ?

Corinna Vinschen corinna-cygwin@cygwin.com
Wed Nov 9 15:51:00 GMT 2011


On Nov  9 09:45, Jeremy Bopp wrote:
> 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.
> > 
> > I'm surprised that we don't have php in the Cygwin distro.  Did nobody
> > try to port php to Cygwin yet?
> 
> It looks like php is available in Cygwin Ports.  [...]

I should have known that.  Sorry Yaakov.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
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



More information about the Cygwin mailing list