Talking with piped shell/ssh

pehr anderson pehr at pehr.net
Wed Sep 13 00:10:59 EDT 2000


Dear Hartmut,


A friend of mine, timo at eink.com wrote an expect module for python. 
The file exploop.py requires eventloop.py so grab them both.

ftp://ftp.bbn.com/pub/timo/python/exploop.py
ftp://ftp.bbn.com/pub/timo/python/eventloop.py
	
Here's an old mail refering to them as well.

http://theopenlab.uml.edu/pipermail/loci-general/1999-April/000006.html

	-pehr



hartmut Goebel wrote:
> 
> 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