[Zope] Executing Shell Script

Jerome Alet alet@librelogiciel.com
Thu, 6 Jun 2002 07:55:59 +0200


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