Looking to get lucky again with another expect question.
Steven W. Orr
steveo at syslang.net
Mon Jul 25 22:28:58 EDT 2011
On 7/25/2011 1:48 PM, Steven W. Orr wrote:
> I'm writing a pile of python code. There's a lot of remote execution going on
> using ssh or the paramiko interface in python. Either way, I discovered a
> startling nuance:
>
...
> #! /usr/bin/expect --
> spawn something
> interact
>
> It's that middle line I don't know how to craft.
>
> Anyone?
>
> TIA
>
>
Gentlemen, I thank you. I got the expect line I was looking for and I didn't
know about the -t (or its paramiko equiv) to boot. :-)
--
Time flies like the wind. Fruit flies like a banana. Stranger things have .0.
happened but none stranger than this. Does your driver's license say Organ ..0
Donor?Black holes are where God divided by zero. Listen to me! We are all- 000
individuals! What if this weren't a hypothetical question?
steveo at syslang.net
More information about the gnhlug-discuss
mailing list