Making Popen items terminate when program ends.

Ernesto erniedude at gmail.com
Fri Feb 3 19:10:51 EST 2006


I used Popen to launch a seperate telnet window, like this:

subprocess.Popen("start telnet.exe -f C:\Folder\File.txt localhost
6000",shell=True)

I is preferable to have this telnet window with the python program.  Is
there something I can do to that line of code to make that happen, or
perhaps another line I can add to the end to force this ?  Thanks




More information about the Python-list mailing list