[Qt-interest] Execute process as a different user
Thomi Richards
thomir at gmail.com
Fri Jul 24 16:37:41 CEST 2009
Hi,
I'd like the ability to execute a process as a different user. I'm
reasonably certain that at the moment this is not possible without
resorting to platform-specific system calls. Can anyone verify that
this is the case? I've spent some time looking through the
documentation for QProcess in Qt 4.5, and I can't see any way to do
this.
This is very important functionality. Anyone wanting to create an
interactive service on new operating systems (such as Windows Vista or
Windows 7) will need to do this, since services in these operating
systems are unable to interact with the user in any way. My plan to
get around this was to have the service spawn a new process owned by
the user in question and use some method of IPC to tell the new
process how to interact with the user.
Can anyone offer any advice on this topic?
Thanks,
More information about the Qt-interest-old
mailing list