Execute a command and return the output
public executeCommand ( string $command ) : string | ||
$command | string | |
return | string |
/** * @covers PHPExiftool\Exiftool::executeCommand * @covers \PHPExiftool\Exception\RuntimeException * @expectedException \PHPExiftool\Exception\RuntimeException */ public function testExecuteCommandFailed() { $exiftool = new Exiftool($this->getlogger()); $exiftool->executeCommand('-prout'); }