Process: Introduce exitMessage() helper

This is going to be used for tweaked process result.

Change-Id: I1e4117dcd6145e4748a55c285b2546974a6e7d00
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Jarek Kobus
2024-01-17 14:09:07 +01:00
parent 4c0541ce2f
commit 312e50d29b
2 changed files with 16 additions and 9 deletions

View File

@@ -182,6 +182,8 @@ public:
const QStringList stdOutLines() const; // split, CR removed
const QStringList stdErrLines() const; // split, CR removed
static QString exitMessage(const CommandLine &command, ProcessResult result,
int exitCode, int maxHangTimerCount);
QString exitMessage() const;
QString toStandaloneCommandLine() const;