I haven't tried it from AS, but I always load Expect from within tclsh:

this works for me:

package require Expect

If  you are on  Windows, then I think the Expect for windows is still a
little shaky...



On Sun, 2003-09-14 at 12:44, Andrew Piskorski wrote:
> I have an Expect script which I'm exec'ing from AOLserver.  This
> works, and the inefficiency of forking doesn't really matter in this
> case.  But it's annoying, as it means I can only communicate with the
> Expect script via command line arguments and stdin/stdout/stderr.
>
> I'd much rather just have the Expect Tcl API directly available in
> AOLserver.  But is that in fact feasible?  Is there any version of
> Expect which can be dynamically loaded into AOLserver (or plain tclsh
> for that matter), via 'package require', the modules list in
> AOLserver's config file, or some other such mechanism?  For AOLserver
> 3.3, or 4.0?
>
> --
> Andrew Piskorski <[EMAIL PROTECTED]>
> http://www.piskorski.com
>
>
> --
> AOLserver - http://www.aolserver.com/
>
> To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with 
> the
> body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field 
> of your email blank.


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of 
your email blank.

Reply via email to