Fredrik Lundh wrote:
"phil" <[EMAIL PROTECTED]> wrote:
from win32all
EnumProcesses gives me the pids, then
OpenProcess(pid) gives me a handle.
Then what?
GetModuleFileNameEX? It requires two handles as args
and I can't figure out which one is the handle from OpenProcess
and what it wants for the
[phil]
> I need to know if a process is running.
> not just python.exe
> but python.exe myapp
> from win32all
> EnumProcesses gives me the pids, then
> OpenProcess(pid) gives me a handle.
> Then what?
> GetModuleFileNameEX?
It won't do the right thing for you. As far as I know,
G
"phil" <[EMAIL PROTECTED]> wrote:
> from win32all
> EnumProcesses gives me the pids, then
> OpenProcess(pid) gives me a handle.
> Then what?
> GetModuleFileNameEX? It requires two handles as args
> and I can't figure out which one is the handle from OpenProcess
> and what it wants for the other o