Re: [haskell-cafe] Finding a PID in Windows

2009-02-22 Thread Bulat Ziganshin
Hello Alexandru, Sunday, February 22, 2009, 7:38:31 PM, you wrote: > In Linux, if you want to find the PID of a process, you use getProcessID from "The GetCurrentProcessId function returns the process identifier of the calling process. DWORD GetCurrentProcessId(VOID)" you need to make FFI imp

[haskell-cafe] Finding a PID in Windows

2009-02-22 Thread Alexandru Scvortov
Quick question. In Linux, if you want to find the PID of a process, you use getProcessID from System.Posix.Process. How do you do the same under Windows? I cannot find the equivalent function in System.Win32 and searching Google does not yield any useful results. Thanks. _