using subprocess.Popen env parameter

2010-03-03 Thread enda man
Hi, I want to use the env parameter to subprocess.Popen to pass in a path to a location the process needs to run, I do have a env variable already called MS_VC_PATH and I want to add to it, not set up more in the PATH variable. / ms_vc_path=os.environ['MS_VC_PATH'] cl_path = ms_vc_path + '\VC

Re: Call Signtool using python

2010-03-02 Thread enda man
262-6300 or by electronic mail > immediately. Thank you. > > -Original Message- > From: python-list-bounces+mmitchell=transparent@python.org > > [mailto:python-list-bounces+mmitchell=transparent@python.org] On > Behalf Of enda man > Sent: Tuesday, March

Call Signtool using python

2010-03-02 Thread enda man
Hi, I want to call the Windows signtool to sign a binary from a python script. Here is my script: // os.chdir('./Install/activex/cab') subprocess.call(["signtool", "sign", "/v", "/f", "webph.pfx", "/t", "http://timestamp.verisign.com/scripts/timstamp.dll";, "WebPh.exe" ]) // But I am getting thi