python apache question
Gerhard Häring
gerhard.haering at opus-gmbh.net
Tue Feb 25 04:46:14 EST 2003
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?
I'd guess "command not found". In this case you'll need to provide the full
path (/usr/local/bin/python).
-- Gerhard
More information about the Python-list
mailing list