[python-win32] win32process.CreateProcess - strange behavior

2011-04-25 Thread lueck
Hello! I need to call an exe file (Windows XP) in my program. Up to now I used subprocess (Python 2.6): cmd = bowtie-build mydb.fasta my_db_index startupinfo = subprocess.STARTUPINFO() startupinfo.dwFlags |= subprocess.STARTF_USESHOWWINDOW startupinfo.wShowWindow = subprocess.SW_HIDE

[python-win32] Python and registry access with UAC enabled

2011-04-25 Thread Michael ODonnell
I have recently migrated to windows 7 from Windows XP. My organization enables UAC (level 3) at the group policy level and therefore I cannot disable it. I would like to know where there is a method to make registry changes using a python script without disabling UAC. For example, I can read