Re: Making Popen items terminate when program ends.

2006-02-04 Thread Ernesto
Peter Hansen wrote: > Please see this page: http://docs.python.org/ref/strings.html and read > about escape sequences in strings, and about raw strings. Thanks Peter. Forgot about that one. In a way, I wish it *would* have given me trouble, so I could have found it early rather than later. --

Re: Making Popen items terminate when program ends.

2006-02-04 Thread Peter Hansen
Roy Smith wrote: > In article <[EMAIL PROTECTED]>, > Peter Hansen <[EMAIL PROTECTED]> wrote: > >>You should >>either prefix your string with an "r" (just before the opening quotation >>mark) or escape the backslashes (as in use "C:\\Folder..." instead of >>just "C:\Folder"). > > Of the two al

Re: Making Popen items terminate when program ends.

2006-02-03 Thread Roy Smith
In article <[EMAIL PROTECTED]>, Peter Hansen <[EMAIL PROTECTED]> wrote: > You should > either prefix your string with an "r" (just before the opening quotation > mark) or escape the backslashes (as in use "C:\\Folder..." instead of > just "C:\Folder"). Of the two alternatives, raw stings are

Re: Making Popen items terminate when program ends.

2006-02-03 Thread Peter Hansen
Ernesto wrote: > 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 can't answer the direct question, but this is the second post of yours I've seen with clear danger signals: you apparently don