src/base/Binary.php
public function passthru($args = [])
    {
        $command = $this->prepareCommand($args);
        Yii::info("> $command");
        passthru($command, $exitcode);

        return $exitcode;
    }
public function passthru($args = [])
    {
        $command = $this->prepareCommand($args);
        Yii::info("> $command");
        passthru($command, $exitcode);

        return $exitcode;
    }
public function passthru ( $ args = [ ] ) { $ command = $ this -> prepareCommand ( $ args ) ; Yii :: info ( "> $command" ) ; passthru ( $ command , $ exitcode ) ; return $ exitcode ; }
Prepares and runs with passthru, returns exit code.
@param string|array $args
@return int exit code
Prepares and runs with passthru returns exit code .