public function run(
        ScheduledCommandInterface $scheduledCommand,
        array $arguments = [],
        array $options = [],
        Debugger $debugger = null
    ) {
        $runCommand = $this->commandService->getRunCommand($scheduledCommand, $arguments, $options);

        if (!is_null($debugger)) {
            $debugger->commandRun($scheduledCommand, $runCommand);
        }

        exec($runCommand);

        return true;
    }
public function run(
        ScheduledCommandInterface $scheduledCommand,
        array $arguments = [],
        array $options = [],
        Debugger $debugger = null
    ) {
        $runCommand = $this->commandService->getRunCommand($scheduledCommand, $arguments, $options);

        if (!is_null($debugger)) {
            $debugger->commandRun($scheduledCommand, $runCommand);
        }

        exec($runCommand);

        return true;
    }
public function run ( ScheduledCommandInterface $ scheduledCommand , array $ arguments = [ ] , array $ options = [ ] , Debugger $ debugger = null ) { $ runCommand = $ this -> commandService -> getRunCommand ( $ scheduledCommand , $ arguments , $ options ) ; if ( ! is_null ( $ debugger ) ) { $ debugger -> commandRun ( $ scheduledCommand , $ runCommand ) ; } exec ( $ runCommand ) ; return true ; }
Run a scheduled command

@param  \Indatus\Dispatcher\Scheduling\ScheduledCommandInterface $scheduledCommand
@param  array                                                    $arguments
@param  array                                                    $options
@return bool
Run a scheduled command