src/Console/Kernel.php
/**
	 * Executes the given command on the internal command line tool with the specified arguments array. Errors will
	 * not be caught. The exit code is returned.
	 *
	 * @param string[] $args
	 * @param OutputInterface|null $output
	 * @return int
	 */
Executes the given command on the internal command line tool with the specified arguments array. Errors will
not be caught. The exit code is returned.

@param string[] $args
@param OutputInterface|null $output
@return int
Executes the given command on the internal command line tool with the specified arguments array . Errors will not be caught . The exit code is returned . @param string [] $args @param OutputInterface|null $output @return int
public function execute(array $args, OutputInterface $output = null) {
		$input = new ArrayInput($args);
		$output = $output ?: new ConsoleOutput();
		$this->consoleApp->setAutoExit(false);
		$this->consoleApp->setCatchExceptions(false);
		return $this->consoleApp->run($input, $output);
	}
public function execute ( array $ args , OutputInterface $ output = null ) { $ input = new ArrayInput ( $ args ) ; $ output = $ output ? : new ConsoleOutput ( ) ; $ this -> consoleApp -> setAutoExit ( false ) ; $ this -> consoleApp -> setCatchExceptions ( false ) ; return $ this -> consoleApp -> run ( $ input , $ output ) ; }
Executes the given command on the internal command line tool with the specified arguments array.
Executes the given command on the internal command line tool with the specified arguments array .