Hi
Please send your questions to [email protected], not to me
directly. Thanx
> I have this code:
> but the expect program can´t executed. What's up?
> I checked permisions on files, on directories, and all
> seem's good
> web::put "Ejecuta Expect"
> set a [clock format [clock seconds] -format%H:%M]
> web::put "<br>$a<br>"
> web::put "<br>"
> if {[catch {exec expect
> /usr/local/apache2/htdocs/Mtxtrack/Saba/Test} msg]}{
> web::put "error callingexpect:\n<pre>$msg</pre>"
> } else {
> web::put"sucsessfully called expect"
> }
> web::put "<br>done"
> set usuario [exec whoami]
> web::put "<br>$usuario"
Can't help you unless you provide some more info:
What's the output when you call your code? What's the error message
(if any)?
> I have another question: Can I wrote: exec /path/shellscript
> in palication'swebsh
Sure you can. But the point is probably that it really depends on what
you want to do ...
Regards
Ronnie
--
10 Jahre Netcetera - die Zukunft im Visier
Ronnie Brunner | [EMAIL PROTECTED]
phone +41 (0)44 247 79 79 | fax +41 (0)44 247 70 75
Netcetera AG | 8040 Zürich | Switzerland | http://netcetera.ch
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]