function drush_invoke_process_args

4.x command.inc drush_invoke_process_args($command_name, $commandline_args, $commandline_options = array())

Invoke a command in a new process.

@deprecated;

Parameters

command_name: The drush command to execute.

Return value

If the command could not be completed successfully, FALSE. If the command was completed, this will return an associative array containing the results of the API call. @see drush_backend_get_result()

See also

drush_invoke_process("@self", $command_name, $commandline_args, $commandline_options) for a better option

Related topics

3 calls to drush_invoke_process_args()
drush_invoke_process in includes/command.inc
Invoke a command in a new process, targeting the site specified by the provided site alias record.
drush_upgrade_site_upgrade in commands/core/upgrade.drush.inc
Main command hook for site-upgrade.
drush_upgrade_site_upgrade_modules in commands/core/upgrade.drush.inc
Upgrade all of the contrib modules of the site being upgraded.

File

includes/command.inc, line 301
The drush command engine.

Code

function drush_invoke_process_args($command_name, $commandline_args, $commandline_options = array()) {
  return drush_backend_invoke_args($command_name, $commandline_args, $commandline_options);
}