[Date Prev] [Date Index] [Date Next] [Thread Prev] [Thread Index] [Thread Next]

Re: Problems exec consoles using expect scripts

Anton Lundin glance@acc.umu.se
Wed, 4 Dec 2013 22:34:35 GMT


On 04 December, 2013 - Chris Fowler wrote:

> I ran into a problem like this a while back.
> 
> What I did is write a program that would execute the script on a pseudo tty.
> That program sets up the master and slave ptys appropriately.
> 

I just solved it by exec'ing ssh -tt directly. That forces ssh to
allocate a pty in the other end and do all the processing there.

//Anton

-- 
Anton Lundin	+46702-161604