[Bug 46272] New: Create TaskList and MAP linux PID to wine windows PID
wine-bugs at winehq.org
wine-bugs at winehq.org
Mon Dec 10 20:03:17 CST 2018
https://bugs.winehq.org/show_bug.cgi?id=46272
Bug ID: 46272
Summary: Create TaskList and MAP linux PID to wine windows PID
Product: Wine
Version: unspecified
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: enhancement
Priority: P2
Component: tools
Assignee: wine-bugs at winehq.org
Reporter: roberto at spadim.com.br
Distribution: ---
Starting with 2 metatrader issues, i went to IRC and talked with zf and ken,
resume:
I need to kill a wine process, but don't hard kill it.
The windows solution is "taskkill /im <windows pid>"
The problem: we don't know what <windows pid> should be used
Workaround to get windows pid: each wine process should use
WINE_DEBUG=+process,+pid. and pattern match the stdout from wine command, lines
containing "__wine_kernel_init starting process" and "<imagename.exe>", if you
have more than one line get the last one
it's ugly (a lot)
we should resolve this writing a tasklist.exe to wine... that's the best of
both worlds wine windows and linux unix
ideas:
1) from winedbg --command 'info proc', we have a tasklist with only windows pid
2) somewhere in wineserver we have linux-windows pid
3) create a tool like windows tasklist.exe with a new column "wine host PID"
somework done here:
https://github.com/wine-mirror/wine/blob/6d801377055911d914226a3c6af8d8637a63fa13/programs/winedbg/info.c#L555
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
More information about the wine-bugs
mailing list