forked from qt-creator/qt-creator
VcsCommand: Simplify public runCommand()
Get rid of unused workingDirectory (default working directory will be used) and exitCodeInterpreter. Simplify internals a bit. Change-Id: I2a7547e5a594dd7a21f390daeb06778656e9e971 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -1670,7 +1670,7 @@ ClearCasePluginPrivate::runCleartool(const FilePath &workingDir,
|
||||
command->addFlags(flags);
|
||||
command->setCodec(outputCodec);
|
||||
const CommandResult result = command->runCommand({FilePath::fromString(executable), arguments},
|
||||
workingDir, timeOutS);
|
||||
timeOutS);
|
||||
delete command;
|
||||
|
||||
response.error = result.result() != ProcessResult::FinishedWithSuccess;
|
||||
|
||||
Reference in New Issue
Block a user