Talking with piped shell/ssh

hartmut Goebel hartmut at oberon.noris.de
Tue Sep 12 10:17:44 CEST 2000


Hello,

I'm trying to spawn a shell (more exactly a ssh on a remote machine) and then
want to talk with it. I've played around with popen2.Popen3() and managed to
spawn the shell (which is not a problem anyway ;-).

I managed to read the input in some special cases but when trying to
generalize them, I failed.

Is there any example source or snippet I can use?

Thanks for any pointer!

+++hartmut




More information about the Python-list mailing list