Deployer\Server\Local::mustRun PHP Method

mustRun() public method

public mustRun ( string $command, callable $callback = null ) : string
$command string
$callback callable
return string
    public function mustRun($command, $callback = null)
    {
        $process = new Process($command);
        $process->setTimeout(self::TIMEOUT)->setIdleTimeout(self::TIMEOUT)->mustRun($callback);
        return $process->getOutput();
    }