forked from qt-creator/qt-creator
Utils: Remove CommandLine argument from QtcProcess::run{,Blocking}
Makes run() more similar to what start() looks like. Also add some asserts to make sure run() and related functions are only called on SyncronousProcesses, as these are currently the only ones where this works. Change-Id: Idee6076c3f40a484db5c17f5bb348698cc83d220 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -167,12 +167,10 @@ private:
|
||||
|
||||
// Run without a event loop in fully blocking mode. No signals will be delivered.
|
||||
void runFullySynchronous(SynchronousProcess &proc,
|
||||
const CommandLine &cmd,
|
||||
QSharedPointer<OutputProxy> proxy,
|
||||
const QString &workingDirectory);
|
||||
// Run with an event loop. Signals will be delivered.
|
||||
void runSynchronous(SynchronousProcess &proc,
|
||||
const CommandLine &cmd,
|
||||
QSharedPointer<OutputProxy> proxy,
|
||||
const QString &workingDirectory);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user