On 10/30/07, salvatore monaco <[EMAIL PROTECTED]> wrote:
> Ciao all
> c'e' un modo per lanciare uno script esterno in php da uno script python cgi

subprocess.Popen(['/usr/bin/php5', '/path/script.php5'])

Se vuoi catturare l'output gli devi dire che vuoi che stdout/stderr
venga redirezionato sulla PIPE. Per il come:
<http://blog.doughellmann.com/2007/07/pymotw-subprocess.html>

ps. a cosa ti serve?


-- 
Lawrence, oluyede.org - neropercaso.it
"It is difficult to get a man to understand
something when his salary depends on not
understanding it" - Upton Sinclair
_______________________________________________
Python mailing list
Python@lists.python.it
http://lists.python.it/mailman/listinfo/python

Rispondere a