[Interest] Detecting if the application is already running from another user account

Etienne Sandré-Chardonnal etienne.sandre at m4x.org
Fri Jun 3 11:40:31 CEST 2016


Hi,

I would like to detect if my application is already running from another
user account and warn the user.

I have tried QSharedMemory, but it seems that by design it is restricted to
a user namespace. I can create two shared memory segments with the same key
on the two user accounts and they work independently.

Is there any other option?

Thanks!

Etienne
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20160603/da9e461f/attachment.html>


More information about the Interest mailing list