Utils: Make parameter workingDirectory optional

- made parameter workingDirectory in startDetached function optional

Task-number: QTCREATORBUG-26169
Change-Id: Ia8bf10455fc5c26cec4372005a230a919e955b10
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Artem Sokolovskii
2021-08-25 12:34:54 +02:00
parent 6b417333c8
commit e1cfaaeaca

View File

@@ -109,7 +109,7 @@ public:
void terminate(); void terminate();
void interrupt(); void interrupt();
static bool startDetached(const CommandLine &cmd, const FilePath &workingDirectory, static bool startDetached(const CommandLine &cmd, const FilePath &workingDirectory = {},
qint64 *pid = nullptr); qint64 *pid = nullptr);
// Starts the command and waits for finish. User input processing depends // Starts the command and waits for finish. User input processing depends
// on whether setProcessUserEventWhileRunning was called. // on whether setProcessUserEventWhileRunning was called.