executeCommand() public method

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