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

2013-11-14 Thread Mark Hammond
On 14/11/2013 8:52 PM, Tim Golden wrote: Hopefully someone else has (a) more time right now and/or (b) more knowledge at their fingertips to give you a better answer. If no-one I had a quick peek at the CRT spawn source code, and can't explain why it behaves differently on winxp vs 7. The onl

Re: [python-win32] Logging Under Windows

2013-11-14 Thread Tim Roberts
Stanley Brinkerhoff wrote: > I have a rough service application template [1] that I am using for > multiple projects. These projects all log to a directory using a date > based logger that is running in a dedicated thread with a queue. This > allows multithreaded services to properly log and not

[python-win32] Logging Under Windows

2013-11-14 Thread Stanley Brinkerhoff
I have a rough service application template [1] that I am using for multiple projects. These projects all log to a directory using a date based logger that is running in a dedicated thread with a queue. This allows multithreaded services to properly log and not retain multiple file handles to the

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

2013-11-14 Thread Tim Golden
On 14/11/2013 02:01, Tony Cappellini wrote: > Sorry for the delay in replying, had a few more important crises to solve. > > To summarize, I have a program running under Windows XP, which launches > a process > via os.spawnv(). When the user wants to exit the program they press > Ctrl-C. The progr