Re: [python-win32] Understanding "Access Denied" when callingwin32process.TerminateProcess() from Run As Administrator prompt

2013-10-01 Thread Michel Claveau
Re ! The best (for me) solution: down the UAC-level to zero... @-salutations -- Michel Claveau - Original Message - From: Michel Claveau To: cappy2...@gmail.com ; python-win32@python.org Sent: Tuesday, October 01, 2013 9:57 PM Subject: Re: [python-win32] Understanding "Ac

Re: [python-win32] Understanding "Access Denied" when calling win32process.TerminateProcess() from Run As Administrator prompt

2013-10-01 Thread Michel Claveau
Hi! "Run As Administrator" prompt on Windows 7 has several oddities. e.g. if you have mapped disks (on LAN), try to doDIR R:with command-line "As Administrator" and "As User" ...and you the problem. @-salutations -- Michel Claveau - Original Message - From: Tony Cappe

[python-win32] Understanding "Access Denied" when calling win32process.TerminateProcess() from Run As Administrator prompt

2013-10-01 Thread Tony Cappellini
When running from a *"Run As Administrator"* prompt on Windows 7 Professional 32-Bit, my Top-level python script spawns a process (which is another python script) using os.spawnv( ) When the top-level script ends, it attemps to call win32process.TerminateProcess() with the handle that was create