Get Windows-PID for process with known Unix-PID
ovek at arcticnet.no
Thu Jul 3 11:02:27 CDT 2008
Martin Szydlowski wrote:
> I know I can get the Windows-PIDs using winedbg->info process but there
> is no trace of Unix PIDs there. Also, I need a scriptable way to do
> this, best being a small app that gets a Unix PID and prints the
> matching Windows PID to console.
I don't think there's currently a way to do this. You may have to write
a Winelib wrapper program that starts your main program and prints its
Windows PID on stdout or something, so that your script can capture it.
More information about the wine-devel