You might also consider LocalProc: http://www.zope.org/Members/sspickle/LocalProc It's dumb.. but it works (unix only). It can also do "background" processes, and takes some care to limit what commands can be run, and where. take care, -steve On Thursday, June 6, 2002, at 12:55 AM, Jerome Alet wrote:
On Wed, Jun 05, 2002 at 02:58:28PM -0700, Tran, Mike wrote:
How do i create a method that will excute a shell script when called? I just wanted to run a local shell script when a user clicks on a button.
Download ZShell from http://www.librelogiciel.com/software/ and look at is sources, especially the run_exec() method.
This will show you how to do.
Alternatively you can directly use ZShell from your button.
bye,
Jerome Alet
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )