forked from qt-creator/qt-creator
VcsCommand: Add std channel getters
Conform to QtcProcess interface and provide cleanedStdOut() and cleanedStdErr() getters, to be called after the process finished. Use cleanedStdOut() inside DiffEditorController for getting the output after the process finished instead of connecting to stdOutText() signal. Change-Id: I7ba3735b0ab2167ac1f3b0954dd5dc9553910aac Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -116,6 +116,9 @@ public:
|
||||
CommandResult runCommand(const Utils::CommandLine &command, int timeoutS = 10);
|
||||
void cancel();
|
||||
|
||||
QString cleanedStdOut() const;
|
||||
QString cleanedStdErr() const;
|
||||
|
||||
signals:
|
||||
void stdOutText(const QString &);
|
||||
void stdErrText(const QString &);
|
||||
|
||||
Reference in New Issue
Block a user