Re: subprocess.Popen under windows 7

2011-12-09 Thread Frank van den Boom
I didn't have Windows 7 right now, but that shouldn't happen with the code you've given; when trimming code for posting, you should check that the trimmed code still have the exact same problem. Here is the hole code: #!/usr/bin/env python # little script to backup recursive a folder with

Re: subprocess.Popen under windows 7

2011-12-09 Thread Frank van den Boom
Thank you very much. Now I have written a little c++ programm which produces some ouput. And now it works fine. There is something wrong with 7zip.exe and the arglist with *. Tonight I will go on and hunt the error. It should be Python 2.7 #!/usr/bin/env python PATH_TO_EXE =

subprocess.Popen under windows 7

2011-12-08 Thread Frank van den Boom
Hello, i have something like this under windows 7: print(try command...) arglist = [PATH_TO_7ZIP,a, -sfx, archive_name, *, -r, -p,PASSWORD] p = subprocess.Popen(args=arglist, stdout=subprocess.PIPE, stderr=subprocess.PIPE, cwd=srcdir) output, error =