SH\Command::doCallback PHP Method

doCallback() public method

public doCallback ( )
    public function doCallback()
    {
        $output = null;
        $process = new Process($this->getCommandString());
        $process->setTimeout($this->sh->getTimeout());
        $process->run(function ($type, $buffer) {
            call_user_func_array($this->lineCallback, array($buffer, $type));
        });
        return;
    }