aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/utils/shellcommand.h
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2019-06-06 16:27:55 +0200
committerhjk <hjk@qt.io>2019-06-11 08:11:07 +0000
commitca4ba34229c247027074c25abf51bf02ff15af96 (patch)
treef5f93acda470948ec0f07b1dbfe5a58333bcb8bb /src/libs/utils/shellcommand.h
parent021d3a6c59264e4aac0284628b8d2daadbad4ed7 (diff)
Use Utils::FilePath in SynchronousProcess
Adapt callers and surrounding code. Change-Id: Ie6c1883a44169cf9d790d06b660f46d24dc24c89 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'src/libs/utils/shellcommand.h')
-rw-r--r--src/libs/utils/shellcommand.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libs/utils/shellcommand.h b/src/libs/utils/shellcommand.h
index f0c427ef53e..a90b4fe70ed 100644
--- a/src/libs/utils/shellcommand.h
+++ b/src/libs/utils/shellcommand.h
@@ -171,12 +171,12 @@ private:
void run(QFutureInterface<void> &future);
// Run without a event loop in fully blocking mode. No signals will be delivered.
- SynchronousProcessResponse runFullySynchronous(const FilePath &binary, const QStringList &arguments,
+ SynchronousProcessResponse runFullySynchronous(const CommandLine &cmd,
QSharedPointer<OutputProxy> proxy,
int timeoutS, const QString &workingDirectory,
const ExitCodeInterpreter &interpreter = defaultExitCodeInterpreter);
// Run with an event loop. Signals will be delivered.
- SynchronousProcessResponse runSynchronous(const FilePath &binary, const QStringList &arguments,
+ SynchronousProcessResponse runSynchronous(const CommandLine &cmd,
QSharedPointer<OutputProxy> proxy,
int timeoutS, const QString &workingDirectory,
const ExitCodeInterpreter &interpreter = defaultExitCodeInterpreter);