You must be doing something wrong :) qDebug() << getuid(); system("whoami"); -> 100000 nemo ________________________________________ From: devel-boun...@lists.sailfishos.org [devel-boun...@lists.sailfishos.org] on behalf of Wim de Vries [wsvr...@xs4all.nl] Sent: Sunday, August 11, 2013 9:53 PM To: devel@lists.sailfishos.org Subject: [SailfishDevel] under which user do apps run
Hi, Trying to find out under which user my app runs. whoami from within the app returns "". and ~ has no content. Thanks. _______________________________________________ SailfishOS.org Devel mailing list _______________________________________________ SailfishOS.org Devel mailing list