forked from qt-creator/qt-creator
Utils: Simplify internal ShellCommand::run* function interface
No need to pass some QtcProcess properties in parallel with a QtcProcess object. Change-Id: I0c04e5d7db5fd27d8855e661547ec45f417f0fd5 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -171,14 +171,12 @@ private:
|
||||
void runFullySynchronous(SynchronousProcess &proc,
|
||||
const CommandLine &cmd,
|
||||
QSharedPointer<OutputProxy> proxy,
|
||||
int timeoutS, const QString &workingDirectory,
|
||||
const ExitCodeInterpreter &interpreter = {});
|
||||
const QString &workingDirectory);
|
||||
// Run with an event loop. Signals will be delivered.
|
||||
void runSynchronous(SynchronousProcess &proc,
|
||||
const CommandLine &cmd,
|
||||
QSharedPointer<OutputProxy> proxy,
|
||||
int timeoutS, const QString &workingDirectory,
|
||||
const ExitCodeInterpreter &interpreter = {});
|
||||
const QString &workingDirectory);
|
||||
|
||||
class Internal::ShellCommandPrivate *const d;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user