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
On Mon, Jul 25, 2011 at 1:48 PM, Steven W. Orr wrote:
> The general solution would be to run an
> expect script that would simply act as a passthrough to guarantee that
> whatever I run would think it had a tty, and would therefore be line buffered
> by default instead of fully buffered. I know it
Try the -t option to force pty allocation?
___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
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:
* When I run programs remotely which are shell scripts (bash), they behave
like they are interactive, i.e., the output is lin