https://bugs.winehq.org/show_bug.cgi?id=46272
--- Comment #13 from roberto@spadim.com.br --- i think both should be ok, the priority of doing one or another is the point, i think taskkill have higher priority
tasklist is something like ps ax taskkill is something like kill
when you see htop at linux or other monitor you know the unix pid
at wine side we have windows pid, something to show what's each one is ok (tasklist), maybe in future integrate this information at htop and others monitor tools should be interesting
in worst scenario we need to close programs, kill at unix execute a hard kill to wine process (in my case terminal64.exe don't flush writes to disk and all writes are lost), even with sigterm or other "gracefull" signal (sighup etc)
taskkill execute a "graceful" program close ("X" button at window manager), in this case taskkil /unixpid is the only solution. the today problem is: what pid to kill with taskkill if we don't know what wine pid is a unix pid, and we get back to tasklist idea