Making a shorter shebang

veracon veracon at gmail.com
Sat Oct 14 18:41:11 CEST 2006


Thanks, at least now I know I wasn't doing something wrong.

Marc 'BlackJack' Rintsch wrote:
> In <1160841802.218222.60510 at h48g2000cwc.googlegroups.com>, veracon wrote:
>
> > Actually, it appears to still be using the default binary
> > (/usr/bin/python). Can I be sure it's actually reading the .profile
> > file? I'm executing through regular CGI in Apache.
>
> The `~/.profile` is executed when *you* log into your account.  CGI
> scripts are executed by the web server which usually has its own user and
> group,  `wwwrun` or something like that, and does not read the `.profile`
> in your home directory.
> 
> Ciao,
> 	Marc 'BlackJack' Rintsch




More information about the Python-list mailing list