DataSift\Storyplayer\OsLib\OsBase::runCommand PHP Method

runCommand() public method

public runCommand ( HostDetails $hostDetails, string $command ) : CommandResult
$hostDetails HostDetails
$command string
return DataSift\Storyplayer\CommandLib\CommandResult
    public function runCommand($hostDetails, $command)
    {
        // get an SSH client
        $client = $this->getClient($this->st, $hostDetails);
        // run the command
        return $client->runCommand($command);
    }