python apache question

dsavitsk dsavitsk at ecpsoftware.com
Tue Feb 25 00:31:20 EST 2003


this is a bit OT, but I thought someone here might know the answer.

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?

2.2, freebsd 4.7, apache2

-d





More information about the Python-list mailing list