Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-9761

QProcess sudo and UAC - request

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • 4.6.2
    • Core: I/O
    • None
    • All platforms

    Description

      It would be nice if QProcess have a way to require super user privileges for the process that is going to start. Under Mac and Linux this would be sudo( like package managers ask for super user password in order to continue ) and under Windows to invoke the UAC if windows is Vista and up.

      Note: Under Windows this can be easy done with ShellExecute() with lpOperation param to be "runas", it is not officially documented by Microsoft, but works perfectly on all Windows versions that have UAC turned on.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            sorvig Morten Sørvig
            storm Nikolay Nikolov Baklicharov
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes