[Linux-users] any 'expect' gurus?
Kurt Wall
kwall
Thu Aug 16 10:18:07 PDT 2007
On Thu, Aug 16, 2007 at 09:56:55AM -0700, Lonni J Friedman wrote:
> 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.
Have you tried running expect in debug mode? That might show where
things are going south.
Kurt
--
Don't get stuck in a closet -- wear yourself out.
More information about the Linux-users
mailing list