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

QProcess::startDetached does not support native arguments

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Done
    • P3: Somewhat important
    • 5.10.0 Alpha
    • 5.6.0
    • Core: I/O
    • None
    • d436e0e6f5da5daf7f017ac4fa8ab0d9564f0859

    Description

      The QProcess::startDetached API is missing a way to pass a native command line string like QProcess::setNativeArguments.

      Along with all the other requested startDetached features the following API comes to mind:

      QProcess p;
      p.setNativeArguments("do \"some fancy stuff\"");
      p.startDetached();
      

      Where startDetached is a non-static method of QProcess, taking no arguments, but using QProcess merely as "configuration object" for starting a detached process.

      Attachments

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

        Activity

          People

            jbornema Joerg Bornemann
            jbornema Joerg Bornemann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes