Yarko,

I think the link you sent made a good point for the switch. So I
changed it in trunk.

On May 15, 12:25 pm, Yarko Tymciurak <[email protected]> wrote:
> as I mentioned, see the discussion onhttp://en.wikipedia.org/wiki/Env
>
> using env can lead to right, or wrong....  that is, what you intended or
> not...  It is more convenient perhaps for general development use;  more
> dangerous perhaps for deployment use....
>
> we need to think about this I think...
>
> On Fri, May 15, 2009 at 11:10 AM, virhilo <[email protected]> wrote:
>
> > Yes, you right some(most) of that files are never executed, them only
> > used as modules, but another are executed(web2py.py, fcgihandler.py
> > etc.) so them should have correct python parth in "shebang".
>
> > On 15 Maj, 15:39, Yarko Tymciurak <[email protected]> wrote:
> > > .... put another way, does it make more sense (perhaps) to remove the
> > > "shebang" from the front of the scripts altogether?
>
> > > On Fri, May 15, 2009 at 8:37 AM, Yarko Tymciurak <[email protected]>
> > wrote:
> > > > ... the real question is:  to what extent does this matter when you are
> > > > running:
> > > > $ python2.6 web2py.py -a 'hello'
>
> > > > Will any of the headers in these scripts matter at all?
>
> > > > On Fri, May 15, 2009 at 8:34 AM, Yarko Tymciurak <[email protected]
> > >wrote:
>
> > > >> There is some good discussion (pros/cons) here:
> > > >>http://en.wikipedia.org/wiki/Env
>
> > > >> On Fri, May 15, 2009 at 8:09 AM, Kacper Krupa <[email protected]
> > >wrote:
>
> > > >>> yep, i told about it:
>
> >http://groups.google.com/group/web2py/browse_thread/thread/71bb1897b4...
>
> > > >>> On 15 Maj, 10:22, virhilo <[email protected]> wrote:
> > > >>> > I think the python path in web2py files stould be:
> > > >>> > /usr/bin/env python
> > > >>> > instead of /usr/bin/python
>
> > > >>> > I make a patch for 796 revision of devel version which correcting
> > it.
> > > >>> > You can found it 
> > > >>> > here:http://spof.pl/~virhilo/python_path.patch<http://spof.pl/%7Evirhilo/python_path.patch>
>
> > > >>> > Greets
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to