[Zope] execv inside zope

Wombie Tomek lewombie at gmail.com
Sat Mar 3 17:39:51 EST 2007


How do i execute a command line program and get the output in to zope?  I
seem to have permission issues with the following code which I think should
work otherwise.

thanks,

import os, sys

print os.execv('/bin/echo', ['foo', 'bar'])
return printed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope/attachments/20070303/ed39f317/attachment.htm


More information about the Zope mailing list