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 works great for opening an executable > > directly (i.e. Handle = subprocess.Popen("myProgram.exe), but here I'm > > using the Windows 'start' command inside, which I think has an effect. > > > > > > Is there another way I can force termination of the telnet session I > > create ? > > Maybe using the module telnetlib instead? > > Diez
oh ok great ! But how would I create a log file. Couldn't seem to find that here: http://python.active-venture.com/lib/telnet-objects.html http://pydoc.org/1.6/telnetlib.html 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 -- http://mail.python.org/mailman/listinfo/python-list