[python-win32] Error calling win32pdh.EnumObjectItems

2005-11-28 Thread Rogelio Flores
Can anyone tell me what this error message means? >>> win32pdhutil.ShowAllProcesses() Traceback (most recent call last): File "", line 1, in ? File "c:\...\win32pdhutil.py", line 67, in ShowAllProcesses items, instances = win32pdh.EnumObjectItems(None,None,object, win32pdh.PERF_ DETAIL_WIZ

[python-win32] Changing the name of a service

2005-11-23 Thread Rogelio Flores
Is there a way to override the name of a service when installing it? What I want to do is use the same python script to install more than one copies of the same service, under a different name, on the same machine. I know I can simply copy the python file and change the _svc_name_ and have two clon

Re: [python-win32] Allowing service to interact with desktop

2005-04-29 Thread Rogelio Flores
On 12/8/04, Mark Hammond <[EMAIL PROTECTED]> wrote: > > Is there a way to set my python windows service to run witht the > > option "Allowing service to interact with desktop" turned on at > > installation time? I know how to enable it from the windows Services > > UI, but I'm hoping there is an op

[python-win32] Re: How do I get a child's PID, or the whole process tree?

2005-03-07 Thread Rogelio Flores
On Mon, 7 Mar 2005 10:06:01 -0500, Rogelio Flores <[EMAIL PROTECTED]> wrote: > Using win32process.CreateProcess, I can get the process handle/pid of > a process I launch. Now this process launches other processes and they > in turn launch other processes without using CreateProc

[python-win32] How do I get a child's PID, or the whole process tree?

2005-03-07 Thread Rogelio Flores
Using win32process.CreateProcess, I can get the process handle/pid of a process I launch. Now this process launches other processes and they in turn launch other processes without using CreateProcess (so I don't have their pids), to the point where I know there are at least two levels of parent-chi

[python-win32] Allowing service to interact with desktop

2004-12-08 Thread Rogelio Flores
Is there a way to set my python windows service to run witht the option "Allowing service to interact with desktop" turned on at installation time? I know how to enable it from the windows Services UI, but I'm hoping there is an option similar to "--startup auto" (to set the service to start automa