function drush_backend_invoke_args

3.x backend.inc drush_backend_invoke_args($command, $args, $data = array(), $method = 'GET', $integrate = TRUE, $drush_path = NULL, $hostname = NULL, $username = NULL, $ssh_options = NULL)
4.x backend.inc drush_backend_invoke_args($command, $args, $data = array(), $method = 'GET', $integrate = TRUE, $drush_path = NULL, $hostname = NULL, $username = NULL, $ssh_options = NULL)

A variant of drush_backend_invoke() which specifies command and arguments separately.

@deprecated; do not call directly.

See also

drush_invoke_process("@self", $command, $args, $data) for a better option.

5 calls to drush_backend_invoke_args()
drush_backend_invoke in includes/backend.inc
Invoke a drush backend command.
drush_do_command_redispatch in includes/drush.inc
Redispatch the specified command using the same options that were passed to this invocation of drush.
drush_do_multiple_command in includes/drush.inc
Used by functions that operate on lists of sites, moving information from the source to the destination. Currenlty this includes 'drush rsync' and 'drush sql sync'.
drush_invoke_process_args in includes/command.inc
Invoke a command in a new process.
drush_test_run in commands/core/test.drush.inc
Test-run command callback.

File

includes/backend.inc, line 319
Drush backend API

Code

function drush_backend_invoke_args($command, $args, $data = array(), $method = 'GET', $integrate = TRUE, $drush_path = NULL, $hostname = NULL, $username = NULL, $ssh_options = NULL) {
  $cmd = _drush_backend_generate_command($command, $args, $data, $method, $drush_path, $hostname, $username, $ssh_options);
  return _drush_backend_invoke($cmd, $data, array_key_exists('#integrate', $data) ? $data['#integrate'] : $integrate);
}