python apache question

dsavitsk dsavitsk at ecpsoftware.com
Tue Feb 25 14:36:18 EST 2003


Gerhard Häring wrote:
> Erik Max Francis <max at alcyone.com> wrote:
> 
>>dsavitsk wrote:
>>
>>
>>>This works
>>>
>>><!--#exec cmd="ls" -->
>>>
>>>but this does not
>>>
>>><!--#exec cmd="python -c 'import os; print os.getcwd()'" -->
>>>
>>>does anyone know a quick way around this?
>>
>>Hard to say, what's the error say in the logs?
> 
> 
> In this case you'll need to provide the full
> path (/usr/local/bin/python).

Thanks, that's it.  I suppose I should have figured it out.

-d





More information about the Python-list mailing list