Ernesto wrote:
> I'm opening a telnet session with the subprocess call below. I then
> wait ten seconds and attempt to terminate the telnet window I created.
> Unfortuantely, the telnet window remains after the 'TerminateProcess"
> call below. This software works great for opening an executable
Ernesto wrote:
> > > 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?
>
> I was running it directly in a python shell. After the tn.read_all()
> call, the
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
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?
--
http:/
Diez B. Roggisch wrote:
> Ernesto wrote:
>
> > I'm opening a telnet session with the subprocess call below. I then
> > wait ten seconds and attempt to terminate the telnet window I created.
> > Unfortuantely, the telnet window remains after the 'TerminateProcess"
> > call below. This software wo
Ernesto wrote:
> I'm opening a telnet session with the subprocess call below. I then
> wait ten seconds and attempt to terminate the telnet window I created.
> Unfortuantely, the telnet window remains after the 'TerminateProcess"
> call below. This software works great for opening an executable
I'm opening a telnet session with the subprocess call below. I then
wait ten seconds and attempt to terminate the telnet window I created.
Unfortuantely, the telnet window remains after the 'TerminateProcess"
call below. This software works great for opening an executable
directly (i.e. Handle =