[Wine] Keeping track of processes managed by a wineserver instance
strider at strycore.com
Tue Mar 3 16:13:46 CST 2015
-----BEGIN PGP SIGNED MESSAGE-----
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.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
-----END PGP SIGNATURE-----
More information about the wine-users