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

QProcess should have an accessor for the command it was started with

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Done
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 5.0.0
    • Core: I/O
    • None
    • 046c31988e5d166a12e77bb0d9dde074a97ec74a

      After starting a QProcess, it is often useful to be able to refer to the command that was given to start(), e.g. to print error messages. This is especially true if the object is being used asynchronously, because otherwise one has to map the QProcess object to the command string, which is silly.
      This could be accomplished by introducing a QProcess member function "QString commandLine() const", which would return the (possibly transformed) command line given to the start() functions.

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

            kandeler Christian Kandeler
            kandeler Christian Kandeler
            Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes