Spawning an Expect Script

From: Date: Mon, 24 Sep 2001 06:13:09 +0000
Subject: Spawning an Expect Script
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-68479@lists.php.net to get a copy of this message
Hi all, Is there any tips you can point me at on spawning off an Expect script with agruments. Here is a sample of the command I want to be spawned. /usr/local/bin/expect /location/of/script.exp arg1 "Arg Number 2" I would also like it to be able to report the output of the expect script back to the browser when its called. Any suggestions ? Thanks Chris --
    Chris Aitken - Administration/Database Designer - IDEAL Internet
email: chris@ideal.net.au phone: +61 2 4628 8888 fax: +61 2 4628 8890
             __-----------------------------------------__
                          *** Big Brother ***
It just shows that the dull will rule the world. And we will be watching it.

« previous php.general (#68479) next »