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

Redirection of channels handled by QProcess

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Won't Do
    • P3: Somewhat important
    • Some future release
    • None
    • Core: I/O
    • None

    Description

      If you think about it, the outputs of all ForwardedChannels are merged into a common sink - the parent process' console (or session log file). Unfortunately, this is not possible for channels handled by QProcess.

      It would be usefull to be able to do the following:

      1. shell: foo > bar.txt 2>&1
        QProcess proc;
        proc.setStandardOutputFile( "/bar.txt" );
        proc.setStandardErrorSink( &proc, QProcess::OutputHandle );

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            admin Administrator
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes