Terminating a subprocess question

Ernesto erniedude at gmail.com
Wed Mar 29 21:17:49 CEST 2006

Fredrik Lundh wrote:
> Ernesto wrote:
> > Plus, everytime, I tried to use the read_all object, my program crashed
> > pretty hard...
> >
> > tn = telnetlib.Telnet("localhost",6000)
> > print tn.read_all()
> > # CRASH
> that's an unusual error message.  are you sure you didn't get a
> traceback?  if so, what did it say?
> </F>

I was running it directly in a python shell.  After the tn.read_all()
call, the python shell window freezes up, and I have to do a hard
termination of the shell.  There is no traceback message, just a freeze.

More information about the Python-list mailing list