How would I call 32bit exes in Windows 64bit with python? -


I want to call XII from Python on a 64 bit version of Vista. I know how to use subprocess, but all 32 bit apps are stored in: \ program files (x86) \, and it does not like the spaces of my choice. I have tried to avoid the characters, have not set fire, any thoughts?

  textEditorExecutablePath = 'C: \\ Program Files (x86) \\ Notepad 2 \\ Notepad 2 .exe 'filepathToOpen =' C: \\ file.txt 'subprocess.Popen ([textEditorExecutablePath, filepathToOpen])  

Works for me How are you calling Popan?


Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

jquery - SimpleModal Confirm fails to submit form -

php - Multiple Select with Explode: only returns the word "Array" -