[Linux-users] any 'expect' gurus?
Lonni J Friedman
netllama
Thu Aug 16 09:56:55 PDT 2007
On 8/16/07, Bruce Marshall <bmarsh at bmarsh.com> wrote:
> On Thursday 16 August 2007, Lonni J Friedman wrote:
> > > > The man page talks about an 'exit' directive, but that doesn't seem to
> > > > work for me, when I append it to the end of the expect script. There
> > > > are also a few references to using wildcards, but I don't see how to
> > > > define them. Anyone been down this road before?
>
> So you know that it is getting past the:
>
> expect "* ~/NVIDIA_CUDA_SDK): "
> send -- "\r"
>
> ??
>
> Since you start a new shell... maybe the shell doesn't terminate?
That's the problem, the new shell never terminates from the expect script.
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
L. Friedman netllama at gmail.com
LlamaLand http://netllama.linux-sxs.org
More information about the Linux-users
mailing list