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

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

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes