From e1cfaaeaca46b623e9ea31ba79ca91b01019cace Mon Sep 17 00:00:00 2001 From: Artem Sokolovskii Date: Wed, 25 Aug 2021 12:34:54 +0200 Subject: [PATCH] Utils: Make parameter workingDirectory optional - made parameter workingDirectory in startDetached function optional Task-number: QTCREATORBUG-26169 Change-Id: Ia8bf10455fc5c26cec4372005a230a919e955b10 Reviewed-by: hjk --- src/libs/utils/qtcprocess.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/utils/qtcprocess.h b/src/libs/utils/qtcprocess.h index 69eb2028e7a..9b502e04781 100644 --- a/src/libs/utils/qtcprocess.h +++ b/src/libs/utils/qtcprocess.h @@ -109,7 +109,7 @@ public: void terminate(); void interrupt(); - static bool startDetached(const CommandLine &cmd, const FilePath &workingDirectory, + static bool startDetached(const CommandLine &cmd, const FilePath &workingDirectory = {}, qint64 *pid = nullptr); // Starts the command and waits for finish. User input processing depends // on whether setProcessUserEventWhileRunning was called.