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:
Jarek Kobus
2022-08-02 17:28:15 +02:00
parent b2f0f78bdc
commit 278d297397
7 changed files with 36 additions and 50 deletions

View File

@@ -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;