Mathieu Comandon
2015-Mar-03 22:13 UTC
[Wine] Keeping track of processes managed by a wineserver instance
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, For the project I'm working on (Lutris, https://lutris.net) I'd like to keep track of processes spawned from a wineserver instance. I have managed to do this with Linux native binaries and the other emulators we're using but in the case of wine, often will the initial process quit and another one will open, which will be orphaned (owned by upstart, systemd or whatever init system in use). If was wondering if there was a way to query the wineserver for running Windows processes. I am considering using another option using lsof -t [wine_executable] and removing all the common winedevice.exe, explorer.exe, etc processes from that list, but that seems a bit hackish even if it could work and will end up doing this if any other solution doesn't come up. Or maybe, there is a way to keep these process from being orphaned in the first place, that would be even better. Regards, Mathieu Comandon -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlT2MhoACgkQa0F+7SVw2RJ30QCgoTaDHTbi0loSUmUskv4IGj9Q 63gAnjYfAwf5EmYf18iH6x0dQakL+60I =3tNi -----END PGP SIGNATURE-----