[Zope] execv inside zope

2007-03-03 Thread Wombie Tomek
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

Re: [Zope] execv inside zope

2007-03-03 Thread Andreas Jung
--On 3. März 2007 23:39:51 +0100 Wombie Tomek [EMAIL PROTECTED] wrote: 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. Look at the numerous possibilities of Python like the