function drush_shell_exec_proc_build_options

8.0.x exec.inc drush_shell_exec_proc_build_options()
6.x exec.inc drush_shell_exec_proc_build_options()
7.x exec.inc drush_shell_exec_proc_build_options()
5.x exec.inc drush_shell_exec_proc_build_options()
master exec.inc drush_shell_exec_proc_build_options()

Used by definition of ssh and other commands that call into drush_shell_proc_build() to declare their options.

Related topics

2 calls to drush_shell_exec_proc_build_options()
core_drush_command in commands/core/core.drush.inc
Implementation of hook_drush_command().
ssh_drush_command in commands/core/ssh.drush.inc

File

includes/exec.inc, line 257
Functions for executing system commands. (e.g. exec(), system(), ...).

Code

function drush_shell_exec_proc_build_options() {
  return array(
    'ssh-options' => 'A string of extra options that will be passed to the ssh command (e.g. "-p 100")',
    'tty' => 'Create a tty (e.g. to run an interactive program).',
    'escaped' => 'Command string already escaped; do not add additional quoting.',
  );
}