forked from qt-creator/qt-creator
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:
@@ -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.
|
||||||
|
Reference in New Issue
Block a user