(I'm not a Linux or Wine pro... they were set up by an IT guy... I'm just a java guy) I'm working on a java application which runs on Linux. It spawns several threads that do the same thing, namely spawning processes (java.lang.Process), some Linux, some Windows through wine. Some of my threads will hang indefinitely during the wine calls.
Because I have several threads going that call the same linux/windows apps, I can't just grep the ps output for wine and kill that because I could kill wine processes that are fine.
Did some googling, and through reflection I'm able to get the pid from the process but it doesn't correspond to a Linux pid using ps, so I'm thinking it's a pid running in wine.
(Finally the question...) Is there a way to kill a process running in wine referencing it's pid?