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

Add a way to specify a QProcessEnvironment to QProcess::startDetached

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Duplicate
    • P3: Somewhat important
    • None
    • None
    • Core: I/O
    • None

    Description

      Currently we have:

      bool startDetached ( const QString & program, const QStringList & arguments, const QString & workingDirectory, qint64 * pid = 0 )
      bool startDetached ( const QString & program, const QStringList & arguments )

      But it would be really great to have:

      bool startDetached ( const QString & program, const QStringList & arguments, const QProcessEnvironment & environment, const QString & workingDirectory = QString(), qint64 * pid = 0 )

      This would allow to start detached process with custom environments.

      Attachments

        Issue Links

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

          Activity

            People

              Unassigned Unassigned
              iksaif Corentin Chary
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes