Drush: Functions to execute commands.

  1. 7.x doxygen/html/group__commandwrappers.html
  2. master doxygen/html/group__commandwrappers.html
Drush
Functions to execute commands.

Functions

 drush_op_system ($exec)
 drush_shell_cd_and_exec ($effective_wd, $cmd)
 drush_shell_exec ($cmd)
 drush_get_editor ()
 drush_shell_exec_interactive ($cmd)
 _drush_shell_exec ($args, $interactive=FALSE)
 drush_shell_proc_build ($site, $command= '', $cd=NULL, $interactive=FALSE)
 drush_shell_proc_open ($cmd)
 drush_shell_exec_proc_build_options ()
 drush_os ($site_record=NULL)
 drush_remote_host ($site, $prefix= '')
 drush_wrap_with_quotes ($arg)
 drush_escapeshellarg ($arg, $os=NULL)
 _drush_escapeshellarg_windows ($arg)
 _drush_escapeshellarg_linux ($arg)
 _drush_shell_exec_output_set ($output=FALSE)
 drush_shell_exec_output ()
 drush_start_browser ($uri=NULL, $sleep=FALSE, $port=FALSE)

Detailed Description

Function Documentation

_drush_escapeshellarg_linux (   $arg)

Linux version of escapeshellarg().

This is intended to work the same way that escapeshellarg() does on Linux. If we need to escape a string that will be used remotely on a Linux system, then we need our own implementation of escapeshellarg, because the Windows version behaves differently.

Definition at line 352 of file exec.inc.

Referenced by drush_escapeshellarg().

Here is the caller graph for this function:

_drush_escapeshellarg_windows (   $arg)

Windows version of escapeshellarg().

Definition at line 328 of file exec.inc.

Referenced by drush_escapeshellarg().

Here is the caller graph for this function:

_drush_shell_exec (   $args,
  $interactive = FALSE 
)

Internal function: executes a shell command on the local machine. This function should not be used in instances where ssh is utilized to execute a command remotely; otherwise, remote operations would fail if executed from a Windows machine to a remote Linux server.

Parameters
$argsThe command and its arguments.
$interactiveWhether to run in
Returns
TRUE on success, FALSE on failure
See Also
drush_shell_exec.

Definition at line 124 of file exec.inc.

References _drush_shell_exec_output_set(), drush_escapeshellarg(), drush_get_context(), drush_print(), and drush_shell_proc_open().

Referenced by drush_shell_exec(), and drush_shell_exec_interactive().

Here is the call graph for this function:

Here is the caller graph for this function:

_drush_shell_exec_output_set (   $output = FALSE)

Stores output for the most recent shell command. This should only be run from drush_shell_exec().

Parameters
array | bool$outputThe output of the most recent shell command. If this is not set the stored value will be returned.

Definition at line 381 of file exec.inc.

Referenced by _drush_shell_exec(), and drush_shell_exec_output().

Here is the caller graph for this function:

drush_escapeshellarg (   $arg,
  $os = NULL 
)

Platform-dependent version of escapeshellarg(). Given the target platform, return an appropriately-escaped string. The target platform may be omitted for args that are /known/ to be for the local machine.

Definition at line 312 of file exec.inc.

References _drush_escapeshellarg_linux(), _drush_escapeshellarg_windows(), and drush_is_windows().

Referenced by _drush_backend_generate_command(), _drush_core_execute_cmd(), _drush_escape_option(), _drush_shell_exec(), drush_build_drush_command(), drush_core_execute(), drush_remote_host(), drush_shell_proc_build(), drush_sitealias_evaluate_path(), drush_ssh_site_ssh(), drush_start_browser(), drush_wrap_with_quotes(), make_download_git(), package_handler_download_project(), and Drush\Sql\SqlBase\query().

Here is the call graph for this function:

Here is the caller graph for this function:

drush_get_editor ( )

Returns executable code for invoking preferred test editor.

The next line after calling this function is usually

drush_shell_exec_interactive($exec, $filepath, $filepath)
See Also
drush_config_edit()

Definition at line 90 of file exec.inc.

References drush_get_option().

Referenced by drush_config_edit(), and drush_core_config().

Here is the call graph for this function:

Here is the caller graph for this function:

drush_op_system (   $exec)

Calls 'system()' function, passing through all arguments unchanged.

This should be used when calling possibly mutative or destructive functions (e.g. unlink() and other file system functions) so that can be suppressed if the simulation mode is enabled.

Parameters
$execThe shell command to execute. Parameters should already be escaped.
Returns
The result code from system(): 0 == success.
See Also
drush_shell_exec()

Definition at line 27 of file exec.inc.

References drush_get_context(), and drush_print().

Here is the call graph for this function:

drush_os (   $site_record = NULL)

Determine the appropriate os value for the specified site record

Returns
NULL for 'same as local machine', 'Windows' or 'Linux'.

Definition at line 261 of file exec.inc.

References drush_get_option().

Referenced by _drush_backend_generate_command(), drush_backend_invoke_concurrent(), and drush_shell_proc_build().

Here is the call graph for this function:

Here is the caller graph for this function:

drush_remote_host (   $site,
  $prefix = '' 
)

Determine the remote host (usern.nosp@m.ame@.nosp@m.hostn.nosp@m.ame..nosp@m.tld) for the specified site.

Definition at line 281 of file exec.inc.

References drush_escapeshellarg(), and drush_sitealias_get_option().

Referenced by drush_shell_proc_build(), drush_sitealias_alias_record_to_spec(), and drush_sitealias_evaluate_path().

Here is the call graph for this function:

Here is the caller graph for this function:

drush_shell_cd_and_exec (   $effective_wd,
  $cmd 
)

Executes a shell command at a new working directory. The old cwd is restored on exit.

Parameters
$effective_wdThe new working directory to execute the shell command at.
$cmdThe command to execute. May include placeholders used for sprintf.
...Values for the placeholders specified in $cmd. Each of these will be passed through escapeshellarg() to ensure they are safe to use on the command line.
Returns
TRUE on success, FALSE on failure

Definition at line 54 of file exec.inc.

References drush_op().

Referenced by _drush_generate_custom_project(), drush_archive_dump(), drush_pm_git_drupalorg_compute_rebuild_version(), drush_tarball_extract(), make_download_git(), package_handler_download_project(), package_handler_post_download(), and package_handler_update_project().

Here is the call graph for this function:

Here is the caller graph for this function:

drush_shell_exec (   $cmd)

Executes a shell command. Output is only printed if in verbose mode. Output is stored and can be retrieved using drush_shell_exec_output(). If in simulation mode, no action is taken.

Parameters
$cmdThe command to execute. May include placeholders used for sprintf.
...Values for the placeholders specified in $cmd. Each of these will be passed through escapeshellarg() to ensure they are safe to use on the command line.
Returns
TRUE on success, FALSE on failure

Definition at line 78 of file exec.inc.

References _drush_shell_exec().

Referenced by _drush_download_file(), _drush_sync_via_http_download_file(), DrushMakeProject\applyPatches(), drush_archive_dump(), drush_complete_match_file(), drush_config_import(), drush_notify_send_audio(), drush_notify_send_text(), drush_pm_include_version_control(), drush_prompt(), drush_start_browser(), drush_xkcd_display(), make_download_git(), make_tar(), package_handler_download_project(), package_handler_validate(), Drush\Sql\SqlBase\query(), drush_version_control_bzr\rollback(), and drush_version_control_svn\rollback().

Here is the call graph for this function:

Here is the caller graph for this function:

drush_shell_exec_interactive (   $cmd)

Executes a command in interactive mode.

See Also
drush_shell_exec.

Definition at line 102 of file exec.inc.

References _drush_shell_exec().

Referenced by drush_config_edit(), drush_config_export(), drush_core_config(), drush_core_runserver(), and drush_print_file().

Here is the call graph for this function:

Here is the caller graph for this function:

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.

Definition at line 246 of file exec.inc.

Referenced by core_drush_command().

Here is the caller graph for this function:

drush_shell_proc_build (   $site,
  $command = '',
  $cd = NULL,
  $interactive = FALSE 
)

Build an SSH string including an optional fragment of bash. Commands that use this should also merge drush_shell_proc_build_options() into their command options.

See Also
ssh_drush_command().
Parameters
array$siteA site alias record.
string$commandAn optional bash fragment.
string$cdAn optional directory to change into before executing the $command. Set to boolean TRUE to change into $site['root'] if available.
boolean$interactiveForce creation of a tty
Returns
string A string suitable for execution with drush_shell_remote_exec().

Definition at line 185 of file exec.inc.

References drush_escapeshellarg(), drush_get_option(), drush_os(), drush_remote_host(), and drush_sitealias_get_option().

Referenced by _drush_core_execute_cmd(), and drush_ssh_site_ssh().

Here is the call graph for this function:

Here is the caller graph for this function:

drush_shell_proc_open (   $cmd)

Execute bash command using proc_open().

Returns
Exit code from launched application 0 no error 1 general error 127 command not found

Definition at line 229 of file exec.inc.

References drush_get_context(), and drush_print().

Referenced by _drush_backend_invoke(), _drush_core_execute_cmd(), _drush_shell_exec(), drush_core_execute(), and drush_ssh_site_ssh().

Here is the call graph for this function:

Here is the caller graph for this function:

drush_start_browser (   $uri = NULL,
  $sleep = FALSE,
  $port = FALSE 
)

Starts a background browser/tab for the current site or a specified URL.

Uses a non-blocking proc_open call, so Drush execution will continue.

Parameters
$uriOptional URI or site path to open in browser. If omitted, or if a site path is specified, the current site home page uri will be prepended if the sites hostname resolves.
Returns
TRUE if browser was opened, FALSE if browser was disabled by the user or a, default browser could not be found.

Definition at line 407 of file exec.inc.

References drush_bit_bucket(), drush_escapeshellarg(), drush_get_context(), drush_get_option(), drush_has_bash(), drush_is_osx(), drush_is_windows(), drush_log(), drush_shell_exec(), and dt().

Referenced by drush_core_runserver(), and drush_user_login().

Here is the call graph for this function:

Here is the caller graph for this function:

drush_wrap_with_quotes (   $arg)

Make an attempt to simply wrap the arg with the kind of quote characters it does not already contain. If it contains both kinds, then this function reverts to drush_escapeshellarg.

Definition at line 292 of file exec.inc.

References drush_escapeshellarg().

Here is the call graph for this function:

File

doxygen/html/group__commandwrappers.html
View source
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Drush: Functions to execute commands.</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Drush
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.1.2 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Groups</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">Functions to execute commands.</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga9199c80718bb0497997bd9f7b783911a"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__commandwrappers.html#ga9199c80718bb0497997bd9f7b783911a">drush_op_system</a> ($exec)</td></tr>
<tr class="memitem:ga59e8ee9f53442f2029080ac723ed008f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__commandwrappers.html#ga59e8ee9f53442f2029080ac723ed008f">drush_shell_cd_and_exec</a> ($effective_wd, $cmd)</td></tr>
<tr class="memitem:gafd358ceac1286dbdd141ff2b8eb7d556"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__commandwrappers.html#gafd358ceac1286dbdd141ff2b8eb7d556">drush_shell_exec</a> ($cmd)</td></tr>
<tr class="memitem:ga516aab026be224e57d9fc0fe9c3de79f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__commandwrappers.html#ga516aab026be224e57d9fc0fe9c3de79f">drush_get_editor</a> ()</td></tr>
<tr class="memitem:gad0b72e62d81d339d68dc2d3d36db75d6"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__commandwrappers.html#gad0b72e62d81d339d68dc2d3d36db75d6">drush_shell_exec_interactive</a> ($cmd)</td></tr>
<tr class="memitem:ga0eed47c4d6d19d386936ad57f34b10b2"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__commandwrappers.html#ga0eed47c4d6d19d386936ad57f34b10b2">_drush_shell_exec</a> ($args, $interactive=FALSE)</td></tr>
<tr class="memitem:ga78a7ff5045fa4fc20c8e24dd2ba8d777"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__commandwrappers.html#ga78a7ff5045fa4fc20c8e24dd2ba8d777">drush_shell_proc_build</a> ($site, $command= '', $cd=NULL, $interactive=FALSE)</td></tr>
<tr class="memitem:ga3a1bb3ae751f14749ce1dbe4ec9c3288"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__commandwrappers.html#ga3a1bb3ae751f14749ce1dbe4ec9c3288">drush_shell_proc_open</a> ($cmd)</td></tr>
<tr class="memitem:ga20677b9bedd9fe4bd9710d5cf12e5182"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__commandwrappers.html#ga20677b9bedd9fe4bd9710d5cf12e5182">drush_shell_exec_proc_build_options</a> ()</td></tr>
<tr class="memitem:ga1292121e5bdd4bf19ef4f944b16301ed"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__commandwrappers.html#ga1292121e5bdd4bf19ef4f944b16301ed">drush_os</a> ($site_record=NULL)</td></tr>
<tr class="memitem:gae0975650ba125212c2666e58729f43cf"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__commandwrappers.html#gae0975650ba125212c2666e58729f43cf">drush_remote_host</a> ($site, $prefix= '')</td></tr>
<tr class="memitem:ga05d2e2e3f00d7f104058db507f0837b0"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__commandwrappers.html#ga05d2e2e3f00d7f104058db507f0837b0">drush_wrap_with_quotes</a> ($arg)</td></tr>
<tr class="memitem:gafc52f7e769d935b4d2462467cdf8d5ee"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__commandwrappers.html#gafc52f7e769d935b4d2462467cdf8d5ee">drush_escapeshellarg</a> ($arg, $os=NULL)</td></tr>
<tr class="memitem:gac60b4740ceccf95b8e60d1896d93d2ab"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__commandwrappers.html#gac60b4740ceccf95b8e60d1896d93d2ab">_drush_escapeshellarg_windows</a> ($arg)</td></tr>
<tr class="memitem:ga561ce790cc15caa5e1f0bfebc2546529"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__commandwrappers.html#ga561ce790cc15caa5e1f0bfebc2546529">_drush_escapeshellarg_linux</a> ($arg)</td></tr>
<tr class="memitem:gac21dc9409bff5197d255978c3cf6e761"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__commandwrappers.html#gac21dc9409bff5197d255978c3cf6e761">_drush_shell_exec_output_set</a> ($output=FALSE)</td></tr>
<tr class="memitem:gadba8c59ba260dd39f615bc22ca78e1af"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__commandwrappers.html#gadba8c59ba260dd39f615bc22ca78e1af">drush_shell_exec_output</a> ()</td></tr>
<tr class="memitem:ga53d0f833f21b8a22e0824e8c6bbe2260"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__commandwrappers.html#ga53d0f833f21b8a22e0824e8c6bbe2260">drush_start_browser</a> ($uri=NULL, $sleep=FALSE, $port=FALSE)</td></tr>
</table>
<a name="details" id="details"></a><h2>Detailed Description</h2>
<h2>Function Documentation</h2>
<a class="anchor" id="ga561ce790cc15caa5e1f0bfebc2546529"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">_drush_escapeshellarg_linux </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$arg</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Linux version of escapeshellarg().</p>
<p>This is intended to work the same way that escapeshellarg() does on Linux. If we need to escape a string that will be used remotely on a Linux system, then we need our own implementation of escapeshellarg, because the Windows version behaves differently. </p>

<p>Definition at line <a class="el" href="exec_8inc_source.html#l00352">352</a> of file <a class="el" href="exec_8inc_source.html">exec.inc</a>.</p>

<p>Referenced by <a class="el" href="exec_8inc_source.html#l00312">drush_escapeshellarg()</a>.</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group__commandwrappers_ga561ce790cc15caa5e1f0bfebc2546529_icgraph.png" border="0" usemap="#group__commandwrappers_ga561ce790cc15caa5e1f0bfebc2546529_icgraph" alt=""/></div>
<map name="group__commandwrappers_ga561ce790cc15caa5e1f0bfebc2546529_icgraph" id="group__commandwrappers_ga561ce790cc15caa5e1f0bfebc2546529_icgraph">
<area shape="rect" id="node3" href="group__commandwrappers.html#gafc52f7e769d935b4d2462467cdf8d5ee" title="drush_escapeshellarg" alt="" coords="209,427,356,456"/><area shape="rect" id="node5" href="core_8drush_8inc.html#a2df55d0bcfe26bcf84f513623345b9d8" title="drush_core_execute" alt="" coords="1176,72,1315,102"/><area shape="rect" id="node7" href="core_8drush_8inc.html#a056266865af8fe0a2178f1b6cd36dea1" title="_drush_core_execute_cmd" alt="" coords="908,98,1087,127"/><area shape="rect" id="node10" href="includes_2environment_8inc.html#a8839a1aae14125ef4128d1477827ca0e" title="drush_build_drush_command" alt="" coords="407,1394,596,1423"/><area shape="rect" id="node24" href="ssh_8drush_8inc.html#a82a89cae3f9cd4bb76b6e9ac5bddb1cc" title="drush_ssh_site_ssh" alt="" coords="928,151,1067,180"/><area shape="rect" id="node26" href="make_8download_8inc.html#af0b8a0195e141dd3d497d2e663d993fa" title="make_download_git" alt="" coords="929,327,1065,356"/><area shape="rect" id="node28" href="git__drupalorg_8inc.html#a5332feb31d03dabd7e99bb9e8f763ce4" title="package_handler_download\l_project" alt="" coords="907,257,1088,304"/><area shape="rect" id="node34" href="backend_8inc.html#aa9bff3ffcd61a4dd945b567057a54e5d" title="_drush_backend_generate\l_command" alt="" coords="911,1473,1084,1520"/><area shape="rect" id="node37" href="backend_8inc.html#a76fe1964075bf89898a79d07885dcacf" title="_drush_escape_option" alt="" coords="425,1498,577,1527"/><area shape="rect" id="node43" href="group__commandwrappers.html#ga0eed47c4d6d19d386936ad57f34b10b2" title="_drush_shell_exec" alt="" coords="436,768,567,798"/><area shape="rect" id="node78" href="group__commandwrappers.html#ga53d0f833f21b8a22e0824e8c6bbe2260" title="drush_start_browser" alt="" coords="928,1290,1067,1319"/><area shape="rect" id="node83" href="classDrush_1_1Sql_1_1SqlBase.html#a52e0c44fc5008ba624f54c2f439b0ae5" title="Drush\\Sql\\SqlBase\\query" alt="" coords="913,1343,1081,1372"/><area shape="rect" id="node98" href="group__commandwrappers.html#ga78a7ff5045fa4fc20c8e24dd2ba8d777" title="drush_shell_proc_build" alt="" coords="667,151,821,180"/><area shape="rect" id="node102" href="group__commandwrappers.html#gae0975650ba125212c2666e58729f43cf" title="drush_remote_host" alt="" coords="435,267,568,296"/><area shape="rect" id="node107" href="sitealias_8inc.html#ad847d30de6caee61a30ebc2059f9ad5a" title="drush_sitealias_evaluate_path" alt="" coords="645,324,843,354"/><area shape="rect" id="node111" href="group__commandwrappers.html#ga05d2e2e3f00d7f104058db507f0837b0" title="drush_wrap_with_quotes" alt="" coords="419,1551,584,1580"/><area shape="rect" id="node12" href="backend_8inc.html#a7852d5448cd4ee3a2082eccd24d690e7" title="drush_backend_invoke\l_concurrent" alt="" coords="1168,1533,1323,1580"/><area shape="rect" id="node14" href="group__dispatching.html#ga125471885af052278a0874446b332cf9" title="drush_invoke_process" alt="" coords="1387,1092,1539,1122"/><area shape="rect" id="node22" href="make_8drush_8inc.html#a7f6c382e030da87fc401f133edd22f3b" title="make_projects" alt="" coords="1409,1542,1516,1571"/><area shape="rect" id="node16" href="archive_8drush_8inc.html#aa7d70b7ae4d41f7e3339ee5713b3a38c" title="drush_archive_dump" alt="" coords="1588,899,1729,928"/><area shape="rect" id="node18" href="config_8drush_8inc.html#aef4c2b9a90b1297e0e60e741bace5a4e" title="drush_config_import" alt="" coords="1589,1087,1728,1116"/><area shape="rect" id="node20" href="user_8drush_8inc.html#a9e3e0c6e440b7d0b94180025546176b7" title="drush_user_login" alt="" coords="1599,1147,1719,1176"/><area shape="rect" id="node30" href="download_8pm_8inc.html#a802dd9a63e5ab3a3a8472d4635d3c662" title="drush_pm_download" alt="" coords="1175,358,1316,387"/><area shape="rect" id="node32" href="wget_8inc.html#ad78396b0bbd545b14effe61f16f880ac" title="package_handler_update\l_project" alt="" coords="1163,257,1328,304"/><area shape="rect" id="node39" href="backend_8inc.html#ad19c067bfbd87dfc63c55659723aaf60" title="_drush_backend_argument\l_string" alt="" coords="655,1497,833,1544"/><area shape="rect" id="node45" href="group__commandwrappers.html#gafd358ceac1286dbdd141ff2b8eb7d556" title="drush_shell_exec" alt="" coords="683,768,805,798"/><area shape="rect" id="node95" href="group__commandwrappers.html#gad0b72e62d81d339d68dc2d3d36db75d6" title="drush_shell_exec_interactive" alt="" coords="649,1030,839,1059"/><area shape="rect" id="node49" href="notify_8drush_8inc.html#a671bf218a111ec39d0f0fc2919e64daf" title="drush_notify_send_text" alt="" coords="919,503,1076,532"/><area shape="rect" id="node51" href="notify_8drush_8inc.html#a1cf454258746f8e8a83c5fa9b9a91426" title="drush_notify_send_audio" alt="" coords="915,556,1080,586"/><area shape="rect" id="node54" href="classDrushMakeProject.html#a86cb2ad32088f11522e027cd7e98c6ce" title="DrushMakeProject\\applyPatches" alt="" coords="891,610,1104,639"/><area shape="rect" id="node56" href="make_8utilities_8inc.html#ae5b2297055f24062509236670e55dc2a" title="make_tar" alt="" coords="960,663,1035,692"/><area shape="rect" id="node59" href="wget_8inc.html#ae203b6a2394bb0cae2970befc56eea36" title="package_handler_validate" alt="" coords="912,716,1083,746"/><area shape="rect" id="node61" href="pm_8drush_8inc.html#a7a7640133c515e06c96d0f4262b98c51" title="drush_pm_include_version\l_control" alt="" coords="909,380,1085,426"/><area shape="rect" id="node64" href="classdrush__version__control__bzr.html#acabebe722be87098640dcdb5ae2c665f" title="drush_version_control\l_bzr\\rollback" alt="" coords="923,820,1072,866"/><area shape="rect" id="node66" href="classdrush__version__control__svn.html#a0b1d64855ca50a88b586b067a652cd31" title="drush_version_control\l_svn\\rollback" alt="" coords="923,889,1072,936"/><area shape="rect" id="node68" href="sync__via__http_8drush_8inc.html#ababb0956fc32b685a05e6ccef8347672" title="_drush_sync_via_http\l_download_file" alt="" coords="923,958,1072,1005"/><area shape="rect" id="node70" href="xkcd_8drush_8inc.html#a1639c8faf7d2d4cdc7563792b479cd69" title="drush_xkcd_display" alt="" coords="929,1079,1065,1108"/><area shape="rect" id="node72" href="complete_8inc.html#a7d912e55f6aa1d293bcacdd6568eeaf1" title="drush_complete_match_file" alt="" coords="907,1132,1088,1162"/><area shape="rect" id="node74" href="group__userinput.html#gabbb9a40c8f7e0ba5ec384ccf86305a20" title="drush_prompt" alt="" coords="947,1186,1048,1215"/><area shape="rect" id="node76" href="drush_8inc.html#a5c2a88712f3905874900166f3b2c397c" title="_drush_download_file" alt="" coords="924,450,1071,479"/><area shape="rect" id="node80" href="runserver_8drush_8inc.html#a8db8226cf620f67826b59f6091142f60" title="drush_core_runserver" alt="" coords="1172,1099,1319,1128"/><area shape="rect" id="node85" href="classDrush_1_1Sql_1_1SqlBase.html#ab535d0d2d28dcbae9c83f1f62328a3a5" title="Drush\\Sql\\SqlBase\\createdb" alt="" coords="1152,1203,1339,1232"/><area shape="rect" id="node87" href="classDrush_1_1Sql_1_1Sqlmysql.html#ada72881fa1ee6a7463c570f129c39890" title="Drush\\Sql\\Sqlmysql\l\\listTables" alt="" coords="1176,1256,1315,1302"/><area shape="rect" id="node89" href="classDrush_1_1Sql_1_1Sqlpgsql.html#a3ba61916404cdef744d23c08d2e395b6" title="Drush\\Sql\\Sqlpgsql\l\\listTables" alt="" coords="1179,1325,1312,1372"/><area shape="rect" id="node91" href="classDrush_1_1Sql_1_1Sqlsqlite.html#a62317dd9072f29c1af6a7bdd4ae42673" title="Drush\\Sql\\Sqlsqlite\l\\listTables" alt="" coords="1179,1394,1312,1441"/><area shape="rect" id="node93" href="classDrush_1_1Sql_1_1Sqlsqlsrv.html#a765255867524cc6404b302f39e04057c" title="Drush\\Sql\\Sqlsqlsrv\l\\listTables" alt="" coords="1176,1464,1315,1510"/><area shape="rect" id="node105" href="sitealias_8inc.html#a926d838da4c2c24300e7e7461d8079b0" title="drush_sitealias_alias\l_record_to_spec" alt="" coords="673,254,815,301"/><area shape="rect" id="node109" href="core_8drush_8inc.html#a9a3c48f1649db4b3c008b11258cdcce5" title="_drush_core_directory" alt="" coords="923,204,1072,234"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="gac60b4740ceccf95b8e60d1896d93d2ab"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">_drush_escapeshellarg_windows </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$arg</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Windows version of escapeshellarg(). </p>

<p>Definition at line <a class="el" href="exec_8inc_source.html#l00328">328</a> of file <a class="el" href="exec_8inc_source.html">exec.inc</a>.</p>

<p>Referenced by <a class="el" href="exec_8inc_source.html#l00312">drush_escapeshellarg()</a>.</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group__commandwrappers_gac60b4740ceccf95b8e60d1896d93d2ab_icgraph.png" border="0" usemap="#group__commandwrappers_gac60b4740ceccf95b8e60d1896d93d2ab_icgraph" alt=""/></div>
<map name="group__commandwrappers_gac60b4740ceccf95b8e60d1896d93d2ab_icgraph" id="group__commandwrappers_gac60b4740ceccf95b8e60d1896d93d2ab_icgraph">
<area shape="rect" id="node3" href="group__commandwrappers.html#gafc52f7e769d935b4d2462467cdf8d5ee" title="drush_escapeshellarg" alt="" coords="209,427,356,456"/><area shape="rect" id="node5" href="core_8drush_8inc.html#a2df55d0bcfe26bcf84f513623345b9d8" title="drush_core_execute" alt="" coords="1176,72,1315,102"/><area shape="rect" id="node7" href="core_8drush_8inc.html#a056266865af8fe0a2178f1b6cd36dea1" title="_drush_core_execute_cmd" alt="" coords="908,98,1087,127"/><area shape="rect" id="node10" href="includes_2environment_8inc.html#a8839a1aae14125ef4128d1477827ca0e" title="drush_build_drush_command" alt="" coords="407,1394,596,1423"/><area shape="rect" id="node24" href="ssh_8drush_8inc.html#a82a89cae3f9cd4bb76b6e9ac5bddb1cc" title="drush_ssh_site_ssh" alt="" coords="928,151,1067,180"/><area shape="rect" id="node26" href="make_8download_8inc.html#af0b8a0195e141dd3d497d2e663d993fa" title="make_download_git" alt="" coords="929,327,1065,356"/><area shape="rect" id="node28" href="git__drupalorg_8inc.html#a5332feb31d03dabd7e99bb9e8f763ce4" title="package_handler_download\l_project" alt="" coords="907,257,1088,304"/><area shape="rect" id="node34" href="backend_8inc.html#aa9bff3ffcd61a4dd945b567057a54e5d" title="_drush_backend_generate\l_command" alt="" coords="911,1473,1084,1520"/><area shape="rect" id="node37" href="backend_8inc.html#a76fe1964075bf89898a79d07885dcacf" title="_drush_escape_option" alt="" coords="425,1498,577,1527"/><area shape="rect" id="node43" href="group__commandwrappers.html#ga0eed47c4d6d19d386936ad57f34b10b2" title="_drush_shell_exec" alt="" coords="436,768,567,798"/><area shape="rect" id="node78" href="group__commandwrappers.html#ga53d0f833f21b8a22e0824e8c6bbe2260" title="drush_start_browser" alt="" coords="928,1290,1067,1319"/><area shape="rect" id="node83" href="classDrush_1_1Sql_1_1SqlBase.html#a52e0c44fc5008ba624f54c2f439b0ae5" title="Drush\\Sql\\SqlBase\\query" alt="" coords="913,1343,1081,1372"/><area shape="rect" id="node98" href="group__commandwrappers.html#ga78a7ff5045fa4fc20c8e24dd2ba8d777" title="drush_shell_proc_build" alt="" coords="667,151,821,180"/><area shape="rect" id="node102" href="group__commandwrappers.html#gae0975650ba125212c2666e58729f43cf" title="drush_remote_host" alt="" coords="435,267,568,296"/><area shape="rect" id="node107" href="sitealias_8inc.html#ad847d30de6caee61a30ebc2059f9ad5a" title="drush_sitealias_evaluate_path" alt="" coords="645,324,843,354"/><area shape="rect" id="node111" href="group__commandwrappers.html#ga05d2e2e3f00d7f104058db507f0837b0" title="drush_wrap_with_quotes" alt="" coords="419,1551,584,1580"/><area shape="rect" id="node12" href="backend_8inc.html#a7852d5448cd4ee3a2082eccd24d690e7" title="drush_backend_invoke\l_concurrent" alt="" coords="1168,1533,1323,1580"/><area shape="rect" id="node14" href="group__dispatching.html#ga125471885af052278a0874446b332cf9" title="drush_invoke_process" alt="" coords="1387,1092,1539,1122"/><area shape="rect" id="node22" href="make_8drush_8inc.html#a7f6c382e030da87fc401f133edd22f3b" title="make_projects" alt="" coords="1409,1542,1516,1571"/><area shape="rect" id="node16" href="archive_8drush_8inc.html#aa7d70b7ae4d41f7e3339ee5713b3a38c" title="drush_archive_dump" alt="" coords="1588,899,1729,928"/><area shape="rect" id="node18" href="config_8drush_8inc.html#aef4c2b9a90b1297e0e60e741bace5a4e" title="drush_config_import" alt="" coords="1589,1087,1728,1116"/><area shape="rect" id="node20" href="user_8drush_8inc.html#a9e3e0c6e440b7d0b94180025546176b7" title="drush_user_login" alt="" coords="1599,1147,1719,1176"/><area shape="rect" id="node30" href="download_8pm_8inc.html#a802dd9a63e5ab3a3a8472d4635d3c662" title="drush_pm_download" alt="" coords="1175,358,1316,387"/><area shape="rect" id="node32" href="wget_8inc.html#ad78396b0bbd545b14effe61f16f880ac" title="package_handler_update\l_project" alt="" coords="1163,257,1328,304"/><area shape="rect" id="node39" href="backend_8inc.html#ad19c067bfbd87dfc63c55659723aaf60" title="_drush_backend_argument\l_string" alt="" coords="655,1497,833,1544"/><area shape="rect" id="node45" href="group__commandwrappers.html#gafd358ceac1286dbdd141ff2b8eb7d556" title="drush_shell_exec" alt="" coords="683,768,805,798"/><area shape="rect" id="node95" href="group__commandwrappers.html#gad0b72e62d81d339d68dc2d3d36db75d6" title="drush_shell_exec_interactive" alt="" coords="649,1030,839,1059"/><area shape="rect" id="node49" href="notify_8drush_8inc.html#a671bf218a111ec39d0f0fc2919e64daf" title="drush_notify_send_text" alt="" coords="919,503,1076,532"/><area shape="rect" id="node51" href="notify_8drush_8inc.html#a1cf454258746f8e8a83c5fa9b9a91426" title="drush_notify_send_audio" alt="" coords="915,556,1080,586"/><area shape="rect" id="node54" href="classDrushMakeProject.html#a86cb2ad32088f11522e027cd7e98c6ce" title="DrushMakeProject\\applyPatches" alt="" coords="891,610,1104,639"/><area shape="rect" id="node56" href="make_8utilities_8inc.html#ae5b2297055f24062509236670e55dc2a" title="make_tar" alt="" coords="960,663,1035,692"/><area shape="rect" id="node59" href="wget_8inc.html#ae203b6a2394bb0cae2970befc56eea36" title="package_handler_validate" alt="" coords="912,716,1083,746"/><area shape="rect" id="node61" href="pm_8drush_8inc.html#a7a7640133c515e06c96d0f4262b98c51" title="drush_pm_include_version\l_control" alt="" coords="909,380,1085,426"/><area shape="rect" id="node64" href="classdrush__version__control__bzr.html#acabebe722be87098640dcdb5ae2c665f" title="drush_version_control\l_bzr\\rollback" alt="" coords="923,820,1072,866"/><area shape="rect" id="node66" href="classdrush__version__control__svn.html#a0b1d64855ca50a88b586b067a652cd31" title="drush_version_control\l_svn\\rollback" alt="" coords="923,889,1072,936"/><area shape="rect" id="node68" href="sync__via__http_8drush_8inc.html#ababb0956fc32b685a05e6ccef8347672" title="_drush_sync_via_http\l_download_file" alt="" coords="923,958,1072,1005"/><area shape="rect" id="node70" href="xkcd_8drush_8inc.html#a1639c8faf7d2d4cdc7563792b479cd69" title="drush_xkcd_display" alt="" coords="929,1079,1065,1108"/><area shape="rect" id="node72" href="complete_8inc.html#a7d912e55f6aa1d293bcacdd6568eeaf1" title="drush_complete_match_file" alt="" coords="907,1132,1088,1162"/><area shape="rect" id="node74" href="group__userinput.html#gabbb9a40c8f7e0ba5ec384ccf86305a20" title="drush_prompt" alt="" coords="947,1186,1048,1215"/><area shape="rect" id="node76" href="drush_8inc.html#a5c2a88712f3905874900166f3b2c397c" title="_drush_download_file" alt="" coords="924,450,1071,479"/><area shape="rect" id="node80" href="runserver_8drush_8inc.html#a8db8226cf620f67826b59f6091142f60" title="drush_core_runserver" alt="" coords="1172,1099,1319,1128"/><area shape="rect" id="node85" href="classDrush_1_1Sql_1_1SqlBase.html#ab535d0d2d28dcbae9c83f1f62328a3a5" title="Drush\\Sql\\SqlBase\\createdb" alt="" coords="1152,1203,1339,1232"/><area shape="rect" id="node87" href="classDrush_1_1Sql_1_1Sqlmysql.html#ada72881fa1ee6a7463c570f129c39890" title="Drush\\Sql\\Sqlmysql\l\\listTables" alt="" coords="1176,1256,1315,1302"/><area shape="rect" id="node89" href="classDrush_1_1Sql_1_1Sqlpgsql.html#a3ba61916404cdef744d23c08d2e395b6" title="Drush\\Sql\\Sqlpgsql\l\\listTables" alt="" coords="1179,1325,1312,1372"/><area shape="rect" id="node91" href="classDrush_1_1Sql_1_1Sqlsqlite.html#a62317dd9072f29c1af6a7bdd4ae42673" title="Drush\\Sql\\Sqlsqlite\l\\listTables" alt="" coords="1179,1394,1312,1441"/><area shape="rect" id="node93" href="classDrush_1_1Sql_1_1Sqlsqlsrv.html#a765255867524cc6404b302f39e04057c" title="Drush\\Sql\\Sqlsqlsrv\l\\listTables" alt="" coords="1176,1464,1315,1510"/><area shape="rect" id="node105" href="sitealias_8inc.html#a926d838da4c2c24300e7e7461d8079b0" title="drush_sitealias_alias\l_record_to_spec" alt="" coords="673,254,815,301"/><area shape="rect" id="node109" href="core_8drush_8inc.html#a9a3c48f1649db4b3c008b11258cdcce5" title="_drush_core_directory" alt="" coords="923,204,1072,234"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ga0eed47c4d6d19d386936ad57f34b10b2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">_drush_shell_exec </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$args</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$interactive</em> = <code>FALSE</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Internal function: executes a shell command on the local machine. This function should not be used in instances where ssh is utilized to execute a command remotely; otherwise, remote operations would fail if executed from a Windows machine to a remote Linux server.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">$args</td><td>The command and its arguments. </td></tr>
    <tr><td class="paramname">$interactive</td><td>Whether to run in</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>TRUE on success, FALSE on failure</dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="group__commandwrappers.html#gafd358ceac1286dbdd141ff2b8eb7d556">drush_shell_exec</a>. </dd></dl>

<p>Definition at line <a class="el" href="exec_8inc_source.html#l00124">124</a> of file <a class="el" href="exec_8inc_source.html">exec.inc</a>.</p>

<p>References <a class="el" href="exec_8inc_source.html#l00381">_drush_shell_exec_output_set()</a>, <a class="el" href="exec_8inc_source.html#l00312">drush_escapeshellarg()</a>, <a class="el" href="context_8inc_source.html#l00328">drush_get_context()</a>, <a class="el" href="output_8inc_source.html#l00026">drush_print()</a>, and <a class="el" href="exec_8inc_source.html#l00229">drush_shell_proc_open()</a>.</p>

<p>Referenced by <a class="el" href="exec_8inc_source.html#l00078">drush_shell_exec()</a>, and <a class="el" href="exec_8inc_source.html#l00102">drush_shell_exec_interactive()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group__commandwrappers_ga0eed47c4d6d19d386936ad57f34b10b2_cgraph.png" border="0" usemap="#group__commandwrappers_ga0eed47c4d6d19d386936ad57f34b10b2_cgraph" alt=""/></div>
<map name="group__commandwrappers_ga0eed47c4d6d19d386936ad57f34b10b2_cgraph" id="group__commandwrappers_ga0eed47c4d6d19d386936ad57f34b10b2_cgraph">
<area shape="rect" id="node3" href="group__commandwrappers.html#gac21dc9409bff5197d255978c3cf6e761" title="_drush_shell_exec_output_set" alt="" coords="185,83,383,112"/><area shape="rect" id="node5" href="group__commandwrappers.html#gafc52f7e769d935b4d2462467cdf8d5ee" title="drush_escapeshellarg" alt="" coords="211,136,357,165"/><area shape="rect" id="node13" href="context_8inc.html#ad25559f8d7d753f636fbeac347c29fc5" title="drush_get_context" alt="" coords="817,245,945,275"/><area shape="rect" id="node15" href="group__outputfunctions.html#ga63acbb94925d6d2693e235e966bba740" title="drush_print" alt="" coords="467,299,552,328"/><area shape="rect" id="node24" href="group__commandwrappers.html#ga3a1bb3ae751f14749ce1dbe4ec9c3288" title="drush_shell_proc_open" alt="" coords="207,248,361,277"/><area shape="rect" id="node7" href="includes_2environment_8inc.html#a88114295372bcb0ca8dbb5f10b36368e" title="drush_is_windows" alt="" coords="445,5,573,35"/><area shape="rect" id="node9" href="group__commandwrappers.html#gac60b4740ceccf95b8e60d1896d93d2ab" title="_drush_escapeshellarg\l_windows" alt="" coords="432,58,587,105"/><area shape="rect" id="node11" href="group__commandwrappers.html#ga561ce790cc15caa5e1f0bfebc2546529" title="_drush_escapeshellarg\l_linux" alt="" coords="432,127,587,174"/><area shape="rect" id="node17" href="context_8inc.html#afe91fb3e5219ecb2208c3b036b1f0cb8" title="drush_get_option" alt="" coords="636,299,756,328"/><area shape="rect" id="node19" href="context_8inc.html#aee5781894bf828bfa508d9052553f809" title="_drush_get_option" alt="" coords="817,299,945,328"/><area shape="rect" id="node21" href="context_8inc.html#a9f6272c1a68141ce873c07aae3a316ac" title="drush_context_names" alt="" coords="807,352,956,381"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group__commandwrappers_ga0eed47c4d6d19d386936ad57f34b10b2_icgraph.png" border="0" usemap="#group__commandwrappers_ga0eed47c4d6d19d386936ad57f34b10b2_icgraph" alt=""/></div>
<map name="group__commandwrappers_ga0eed47c4d6d19d386936ad57f34b10b2_icgraph" id="group__commandwrappers_ga0eed47c4d6d19d386936ad57f34b10b2_icgraph">
<area shape="rect" id="node3" href="group__commandwrappers.html#gafd358ceac1286dbdd141ff2b8eb7d556" title="drush_shell_exec" alt="" coords="184,632,307,661"/><area shape="rect" id="node94" href="group__commandwrappers.html#gad0b72e62d81d339d68dc2d3d36db75d6" title="drush_shell_exec_interactive" alt="" coords="367,112,556,141"/><area shape="rect" id="node5" href="archive_8drush_8inc.html#aa7d70b7ae4d41f7e3339ee5713b3a38c" title="drush_archive_dump" alt="" coords="391,165,532,195"/><area shape="rect" id="node7" href="config_8drush_8inc.html#aef4c2b9a90b1297e0e60e741bace5a4e" title="drush_config_import" alt="" coords="392,219,531,248"/><area shape="rect" id="node9" href="notify_8drush_8inc.html#a671bf218a111ec39d0f0fc2919e64daf" title="drush_notify_send_text" alt="" coords="383,325,540,355"/><area shape="rect" id="node15" href="notify_8drush_8inc.html#a1cf454258746f8e8a83c5fa9b9a91426" title="drush_notify_send_audio" alt="" coords="379,379,544,408"/><area shape="rect" id="node18" href="make_8download_8inc.html#af0b8a0195e141dd3d497d2e663d993fa" title="make_download_git" alt="" coords="393,713,529,743"/><area shape="rect" id="node20" href="classDrushMakeProject.html#a86cb2ad32088f11522e027cd7e98c6ce" title="DrushMakeProject\\applyPatches" alt="" coords="355,767,568,796"/><area shape="rect" id="node24" href="make_8utilities_8inc.html#ae5b2297055f24062509236670e55dc2a" title="make_tar" alt="" coords="424,820,499,849"/><area shape="rect" id="node28" href="git__drupalorg_8inc.html#a5332feb31d03dabd7e99bb9e8f763ce4" title="package_handler_download\l_project" alt="" coords="371,431,552,478"/><area shape="rect" id="node33" href="wget_8inc.html#ae203b6a2394bb0cae2970befc56eea36" title="package_handler_validate" alt="" coords="376,873,547,903"/><area shape="rect" id="node35" href="pm_8drush_8inc.html#a7a7640133c515e06c96d0f4262b98c51" title="drush_pm_include_version\l_control" alt="" coords="851,499,1027,546"/><area shape="rect" id="node44" href="classdrush__version__control__bzr.html#acabebe722be87098640dcdb5ae2c665f" title="drush_version_control\l_bzr\\rollback" alt="" coords="387,926,536,973"/><area shape="rect" id="node46" href="classdrush__version__control__svn.html#a0b1d64855ca50a88b586b067a652cd31" title="drush_version_control\l_svn\\rollback" alt="" coords="387,995,536,1042"/><area shape="rect" id="node48" href="sync__via__http_8drush_8inc.html#ababb0956fc32b685a05e6ccef8347672" title="_drush_sync_via_http\l_download_file" alt="" coords="387,1077,536,1123"/><area shape="rect" id="node52" href="xkcd_8drush_8inc.html#a1639c8faf7d2d4cdc7563792b479cd69" title="drush_xkcd_display" alt="" coords="871,603,1007,632"/><area shape="rect" id="node56" href="complete_8inc.html#a7d912e55f6aa1d293bcacdd6568eeaf1" title="drush_complete_match_file" alt="" coords="371,1155,552,1184"/><area shape="rect" id="node60" href="group__userinput.html#gabbb9a40c8f7e0ba5ec384ccf86305a20" title="drush_prompt" alt="" coords="411,1223,512,1252"/><area shape="rect" id="node66" href="drush_8inc.html#a5c2a88712f3905874900166f3b2c397c" title="_drush_download_file" alt="" coords="388,501,535,531"/><area shape="rect" id="node76" href="group__commandwrappers.html#ga53d0f833f21b8a22e0824e8c6bbe2260" title="drush_start_browser" alt="" coords="392,272,531,301"/><area shape="rect" id="node82" href="classDrush_1_1Sql_1_1SqlBase.html#a52e0c44fc5008ba624f54c2f439b0ae5" title="Drush\\Sql\\SqlBase\\query" alt="" coords="377,660,545,689"/><area shape="rect" id="node11" href="notify_8drush_8inc.html#a019c8116bcc63e1577cf6b5dec3ec24e" title="drush_notify_send" alt="" coords="645,327,773,356"/><area shape="rect" id="node13" href="download_8pm_8inc.html#a802dd9a63e5ab3a3a8472d4635d3c662" title="drush_pm_download" alt="" coords="1081,381,1223,411"/><area shape="rect" id="node22" href="classDrushMakeProject.html#ad59196db4820ff959dd6088fb8293b75" title="DrushMakeProject\\make" alt="" coords="627,985,792,1015"/><area shape="rect" id="node26" href="make_8drush_8inc.html#adb3866751fd19344b00c069793f46322" title="drush_make_post_make" alt="" coords="628,1039,791,1068"/><area shape="rect" id="node31" href="wget_8inc.html#ad78396b0bbd545b14effe61f16f880ac" title="package_handler_update\l_project" alt="" coords="627,430,792,477"/><area shape="rect" id="node37" href="updatecode_8pm_8inc.html#a86e03f91bb50878663449ddf74b8658d" title="_pm_update_core" alt="" coords="1089,436,1215,465"/><area shape="rect" id="node40" href="updatecode_8pm_8inc.html#a72c100c43f73f1c3d0f713227ae736cb" title="drush_pm_updatecode\l_rollback" alt="" coords="1076,542,1228,589"/><area shape="rect" id="node42" href="updatecode_8pm_8inc.html#a604cbac2dc913cf35f3d4f7f79f4bc4b" title="pm_update_packages" alt="" coords="1077,489,1227,519"/><area shape="rect" id="node50" href="sync__via__http_8drush_8inc.html#af6ab20694d94fb5c16ec975eb0b5aa0d" title="drush_sync_via_http\l_pre_sql_sync" alt="" coords="639,1091,780,1138"/><area shape="rect" id="node54" href="xkcd_8drush_8inc.html#a9996ede595d6a353140c6b22ca2936dd" title="drush_xkcd_fetch" alt="" coords="1089,612,1215,641"/><area shape="rect" id="node58" href="complete_8inc.html#adbec292adabdfe3772d4ede574ab91c9" title="drush_early_complete" alt="" coords="635,1161,784,1191"/><area shape="rect" id="node62" href="field_8drush_8inc.html#a3e930ec03cf0c5762790d73681f71f8f" title="drush_field_create\l_wizard" alt="" coords="645,1214,773,1261"/><area shape="rect" id="node64" href="user_8drush_8inc.html#a8efd948edf12d0eb6b083980b3d8257f" title="drush_user_password" alt="" coords="635,1284,784,1313"/><area shape="rect" id="node68" href="drush_8inc.html#a9cce12bffedae74c4a45174c59c79311" title="drush_download_file" alt="" coords="640,500,779,529"/><area shape="rect" id="node71" href="updatexml_8inc.html#a4c90192cc502c7c05a5b4554c7d50258" title="release_info_print\l_releasenotes" alt="" coords="877,430,1000,477"/><area shape="rect" id="node78" href="runserver_8drush_8inc.html#a8db8226cf620f67826b59f6091142f60" title="drush_core_runserver" alt="" coords="636,219,783,248"/><area shape="rect" id="node80" href="user_8drush_8inc.html#a9e3e0c6e440b7d0b94180025546176b7" title="drush_user_login" alt="" coords="649,272,769,301"/><area shape="rect" id="node84" href="classDrush_1_1Sql_1_1SqlBase.html#ab535d0d2d28dcbae9c83f1f62328a3a5" title="Drush\\Sql\\SqlBase\\createdb" alt="" coords="616,863,803,892"/><area shape="rect" id="node86" href="classDrush_1_1Sql_1_1Sqlmysql.html#ada72881fa1ee6a7463c570f129c39890" title="Drush\\Sql\\Sqlmysql\l\\listTables" alt="" coords="640,915,779,962"/><area shape="rect" id="node88" href="classDrush_1_1Sql_1_1Sqlpgsql.html#a3ba61916404cdef744d23c08d2e395b6" title="Drush\\Sql\\Sqlpgsql\l\\listTables" alt="" coords="643,654,776,701"/><area shape="rect" id="node90" href="classDrush_1_1Sql_1_1Sqlsqlite.html#a62317dd9072f29c1af6a7bdd4ae42673" title="Drush\\Sql\\Sqlsqlite\l\\listTables" alt="" coords="643,723,776,770"/><area shape="rect" id="node92" href="classDrush_1_1Sql_1_1Sqlsqlsrv.html#a765255867524cc6404b302f39e04057c" title="Drush\\Sql\\Sqlsqlsrv\l\\listTables" alt="" coords="640,793,779,839"/><area shape="rect" id="node96" href="config_8drush_8inc.html#a6258f151a3c27b586409d46f1799a666" title="drush_config_export" alt="" coords="640,5,779,35"/><area shape="rect" id="node98" href="config_8drush_8inc.html#ad72fddd99c71a1a854d36dd81e1a80f1" title="drush_config_edit" alt="" coords="648,59,771,88"/><area shape="rect" id="node100" href="core_8drush_8inc.html#a7f88afe2a5459be981ef1cfa4a60af65" title="drush_core_config" alt="" coords="645,112,773,141"/><area shape="rect" id="node103" href="group__outputfunctions.html#ga8059aaf93da4ec3f4c5d3821928a9002" title="drush_print_file" alt="" coords="655,165,764,195"/><area shape="rect" id="node105" href="docs_8drush_8inc.html#afd2b4818980db269a5807a6148edcc3a" title="drush_docs_errorcodes" alt="" coords="860,165,1017,195"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="gac21dc9409bff5197d255978c3cf6e761"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">_drush_shell_exec_output_set </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$output</em> = <code>FALSE</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Stores output for the most recent shell command. This should only be run from <a class="el" href="group__commandwrappers.html#gafd358ceac1286dbdd141ff2b8eb7d556">drush_shell_exec()</a>.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramtype">array&#160;|&#160;bool</td><td class="paramname">$output</td><td>The output of the most recent shell command. If this is not set the stored value will be returned. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="exec_8inc_source.html#l00381">381</a> of file <a class="el" href="exec_8inc_source.html">exec.inc</a>.</p>

<p>Referenced by <a class="el" href="exec_8inc_source.html#l00124">_drush_shell_exec()</a>, and <a class="el" href="exec_8inc_source.html#l00390">drush_shell_exec_output()</a>.</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group__commandwrappers_gac21dc9409bff5197d255978c3cf6e761_icgraph.png" border="0" usemap="#group__commandwrappers_gac21dc9409bff5197d255978c3cf6e761_icgraph" alt=""/></div>
<map name="group__commandwrappers_gac21dc9409bff5197d255978c3cf6e761_icgraph" id="group__commandwrappers_gac21dc9409bff5197d255978c3cf6e761_icgraph">
<area shape="rect" id="node3" href="group__commandwrappers.html#ga0eed47c4d6d19d386936ad57f34b10b2" title="_drush_shell_exec" alt="" coords="253,764,384,793"/><area shape="rect" id="node75" href="group__commandwrappers.html#gadba8c59ba260dd39f615bc22ca78e1af" title="drush_shell_exec_output" alt="" coords="445,1367,611,1396"/><area shape="rect" id="node5" href="group__commandwrappers.html#gafd358ceac1286dbdd141ff2b8eb7d556" title="drush_shell_exec" alt="" coords="467,764,589,793"/><area shape="rect" id="node64" href="group__commandwrappers.html#gad0b72e62d81d339d68dc2d3d36db75d6" title="drush_shell_exec_interactive" alt="" coords="433,139,623,168"/><area shape="rect" id="node7" href="archive_8drush_8inc.html#aa7d70b7ae4d41f7e3339ee5713b3a38c" title="drush_archive_dump" alt="" coords="708,1096,849,1125"/><area shape="rect" id="node9" href="config_8drush_8inc.html#aef4c2b9a90b1297e0e60e741bace5a4e" title="drush_config_import" alt="" coords="709,1219,848,1248"/><area shape="rect" id="node11" href="notify_8drush_8inc.html#a671bf218a111ec39d0f0fc2919e64daf" title="drush_notify_send_text" alt="" coords="700,552,857,581"/><area shape="rect" id="node13" href="notify_8drush_8inc.html#a1cf454258746f8e8a83c5fa9b9a91426" title="drush_notify_send_audio" alt="" coords="696,605,861,635"/><area shape="rect" id="node15" href="make_8download_8inc.html#af0b8a0195e141dd3d497d2e663d993fa" title="make_download_git" alt="" coords="711,1341,847,1371"/><area shape="rect" id="node17" href="classDrushMakeProject.html#a86cb2ad32088f11522e027cd7e98c6ce" title="DrushMakeProject\\applyPatches" alt="" coords="672,939,885,968"/><area shape="rect" id="node21" href="make_8utilities_8inc.html#ae5b2297055f24062509236670e55dc2a" title="make_tar" alt="" coords="741,659,816,688"/><area shape="rect" id="node23" href="git__drupalorg_8inc.html#a5332feb31d03dabd7e99bb9e8f763ce4" title="package_handler_download\l_project" alt="" coords="688,815,869,862"/><area shape="rect" id="node29" href="wget_8inc.html#ae203b6a2394bb0cae2970befc56eea36" title="package_handler_validate" alt="" coords="693,712,864,741"/><area shape="rect" id="node31" href="pm_8drush_8inc.html#a7a7640133c515e06c96d0f4262b98c51" title="drush_pm_include_version\l_control" alt="" coords="937,741,1113,787"/><area shape="rect" id="node34" href="classdrush__version__control__bzr.html#acabebe722be87098640dcdb5ae2c665f" title="drush_version_control\l_bzr\\rollback" alt="" coords="704,1271,853,1318"/><area shape="rect" id="node36" href="classdrush__version__control__svn.html#a0b1d64855ca50a88b586b067a652cd31" title="drush_version_control\l_svn\\rollback" alt="" coords="704,1149,853,1195"/><area shape="rect" id="node38" href="sync__via__http_8drush_8inc.html#ababb0956fc32b685a05e6ccef8347672" title="_drush_sync_via_http\l_download_file" alt="" coords="704,322,853,369"/><area shape="rect" id="node40" href="xkcd_8drush_8inc.html#a1639c8faf7d2d4cdc7563792b479cd69" title="drush_xkcd_display" alt="" coords="711,392,847,421"/><area shape="rect" id="node42" href="complete_8inc.html#a7d912e55f6aa1d293bcacdd6568eeaf1" title="drush_complete_match_file" alt="" coords="688,885,869,915"/><area shape="rect" id="node46" href="group__userinput.html#gabbb9a40c8f7e0ba5ec384ccf86305a20" title="drush_prompt" alt="" coords="728,445,829,475"/><area shape="rect" id="node48" href="drush_8inc.html#a5c2a88712f3905874900166f3b2c397c" title="_drush_download_file" alt="" coords="705,499,852,528"/><area shape="rect" id="node50" href="group__commandwrappers.html#ga53d0f833f21b8a22e0824e8c6bbe2260" title="drush_start_browser" alt="" coords="709,269,848,299"/><area shape="rect" id="node54" href="classDrush_1_1Sql_1_1SqlBase.html#a52e0c44fc5008ba624f54c2f439b0ae5" title="Drush\\Sql\\SqlBase\\query" alt="" coords="695,1043,863,1072"/><area shape="rect" id="node19" href="classDrushMakeProject.html#ad59196db4820ff959dd6088fb8293b75" title="DrushMakeProject\\make" alt="" coords="1167,1267,1332,1296"/><area shape="rect" id="node25" href="download_8pm_8inc.html#a802dd9a63e5ab3a3a8472d4635d3c662" title="drush_pm_download" alt="" coords="1179,809,1320,839"/><area shape="rect" id="node27" href="wget_8inc.html#ad78396b0bbd545b14effe61f16f880ac" title="package_handler_update\l_project" alt="" coords="943,861,1108,907"/><area shape="rect" id="node44" href="complete_8inc.html#adbec292adabdfe3772d4ede574ab91c9" title="drush_early_complete" alt="" coords="951,931,1100,960"/><area shape="rect" id="node52" href="runserver_8drush_8inc.html#a8db8226cf620f67826b59f6091142f60" title="drush_core_runserver" alt="" coords="952,244,1099,273"/><area shape="rect" id="node56" href="classDrush_1_1Sql_1_1Sqlmysql.html#ada72881fa1ee6a7463c570f129c39890" title="Drush\\Sql\\Sqlmysql\l\\listTables" alt="" coords="956,1034,1095,1081"/><area shape="rect" id="node58" href="classDrush_1_1Sql_1_1Sqlpgsql.html#a3ba61916404cdef744d23c08d2e395b6" title="Drush\\Sql\\Sqlpgsql\l\\listTables" alt="" coords="959,1123,1092,1170"/><area shape="rect" id="node60" href="classDrush_1_1Sql_1_1Sqlsqlite.html#a62317dd9072f29c1af6a7bdd4ae42673" title="Drush\\Sql\\Sqlsqlite\l\\listTables" alt="" coords="959,1233,1092,1279"/><area shape="rect" id="node62" href="classDrush_1_1Sql_1_1Sqlsqlsrv.html#a765255867524cc6404b302f39e04057c" title="Drush\\Sql\\Sqlsqlsrv\l\\listTables" alt="" coords="956,1383,1095,1430"/><area shape="rect" id="node66" href="config_8drush_8inc.html#a6258f151a3c27b586409d46f1799a666" title="drush_config_export" alt="" coords="709,112,848,141"/><area shape="rect" id="node68" href="config_8drush_8inc.html#ad72fddd99c71a1a854d36dd81e1a80f1" title="drush_config_edit" alt="" coords="717,165,840,195"/><area shape="rect" id="node70" href="core_8drush_8inc.html#a7f88afe2a5459be981ef1cfa4a60af65" title="drush_core_config" alt="" coords="715,5,843,35"/><area shape="rect" id="node73" href="group__outputfunctions.html#ga8059aaf93da4ec3f4c5d3821928a9002" title="drush_print_file" alt="" coords="724,59,833,88"/><area shape="rect" id="node79" href="generate_8make_8inc.html#afbe1b490c8c2f78c3ec0634b1903782f" title="_drush_generate_custom\l_project" alt="" coords="695,1719,863,1766"/><area shape="rect" id="node86" href="git__drupalorg_8inc.html#a24cb40954a8234867336586a498d76b2" title="package_handler_post\l_download" alt="" coords="949,1474,1101,1521"/><area shape="rect" id="node89" href="git__drupalorg_8inc.html#a258fb6515d2a1d8f92e54c4278acb4cb" title="drush_pm_git_drupalorg\l_compute_rebuild_version" alt="" coords="692,1597,865,1643"/><area shape="rect" id="node95" href="classdrush__version__control__bzr.html#a29cd27a1cad2d6a67ed4f8c309813688" title="drush_version_control\l_bzr\\pre_update" alt="" coords="704,1789,853,1835"/><area shape="rect" id="node98" href="classdrush__version__control__svn.html#aeef018476744822ca225e6e483777126" title="drush_version_control\l_svn\\pre_update" alt="" coords="704,1858,853,1905"/><area shape="rect" id="node101" href="sql_8drush_8inc.html#a05194b55585f4faf2836070d11e55df5" title="drush_sql_query" alt="" coords="720,1928,837,1957"/><area shape="rect" id="node104" href="drush_8inc.html#ad8f8c8d5b65e0d9a863173da63ef78ee" title="drush_tarball_extract" alt="" coords="708,1667,849,1696"/><area shape="rect" id="node81" href="generate_8make_8inc.html#aa4ffaa2643ef640c4768f3635bba29a1" title="_drush_make_generate\l_projects" alt="" coords="947,1789,1104,1835"/><area shape="rect" id="node92" href="classDrushMakeProject.html#ae64371ebab222251d13f492bb1bf7549" title="DrushMakeProject\\process\lGitInfoFiles" alt="" coords="936,1543,1115,1590"/><area shape="rect" id="node106" href="archive_8drush_8inc.html#a3d1644997af6a5792dda2213cae3f4cc" title="drush_archive_restore" alt="" coords="951,1613,1100,1643"/><area shape="rect" id="node108" href="group__hooks.html#ga9e33c8f44999a71f94353d78673294c0" title="drush_hook_pre_pm_enable" alt="" coords="933,1667,1117,1696"/><area shape="rect" id="node110" href="make_8download_8inc.html#a39dc84607968d96b01b9edcda21a8422" title="make_download_file\l_unpack" alt="" coords="956,1719,1095,1766"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="gafc52f7e769d935b4d2462467cdf8d5ee"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">drush_escapeshellarg </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$arg</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$os</em> = <code>NULL</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Platform-dependent version of escapeshellarg(). Given the target platform, return an appropriately-escaped string. The target platform may be omitted for args that are /known/ to be for the local machine. </p>

<p>Definition at line <a class="el" href="exec_8inc_source.html#l00312">312</a> of file <a class="el" href="exec_8inc_source.html">exec.inc</a>.</p>

<p>References <a class="el" href="exec_8inc_source.html#l00352">_drush_escapeshellarg_linux()</a>, <a class="el" href="exec_8inc_source.html#l00328">_drush_escapeshellarg_windows()</a>, and <a class="el" href="includes_2environment_8inc_source.html#l00501">drush_is_windows()</a>.</p>

<p>Referenced by <a class="el" href="backend_8inc_source.html#l01097">_drush_backend_generate_command()</a>, <a class="el" href="core_8drush_8inc_source.html#l01240">_drush_core_execute_cmd()</a>, <a class="el" href="backend_8inc_source.html#l01211">_drush_escape_option()</a>, <a class="el" href="exec_8inc_source.html#l00124">_drush_shell_exec()</a>, <a class="el" href="includes_2environment_8inc_source.html#l00441">drush_build_drush_command()</a>, <a class="el" href="core_8drush_8inc_source.html#l01201">drush_core_execute()</a>, <a class="el" href="exec_8inc_source.html#l00281">drush_remote_host()</a>, <a class="el" href="exec_8inc_source.html#l00185">drush_shell_proc_build()</a>, <a class="el" href="sitealias_8inc_source.html#l01842">drush_sitealias_evaluate_path()</a>, <a class="el" href="ssh_8drush_8inc_source.html#l00035">drush_ssh_site_ssh()</a>, <a class="el" href="exec_8inc_source.html#l00407">drush_start_browser()</a>, <a class="el" href="exec_8inc_source.html#l00292">drush_wrap_with_quotes()</a>, <a class="el" href="make_8download_8inc_source.html#l00216">make_download_git()</a>, <a class="el" href="git__drupalorg_8inc_source.html#l00047">package_handler_download_project()</a>, and <a class="el" href="SqlBase_8php_source.html#l00149">Drush\Sql\SqlBase\query()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group__commandwrappers_gafc52f7e769d935b4d2462467cdf8d5ee_cgraph.png" border="0" usemap="#group__commandwrappers_gafc52f7e769d935b4d2462467cdf8d5ee_cgraph" alt=""/></div>
<map name="group__commandwrappers_gafc52f7e769d935b4d2462467cdf8d5ee_cgraph" id="group__commandwrappers_gafc52f7e769d935b4d2462467cdf8d5ee_cgraph">
<area shape="rect" id="node3" href="group__commandwrappers.html#ga561ce790cc15caa5e1f0bfebc2546529" title="_drush_escapeshellarg\l_linux" alt="" coords="203,5,357,51"/><area shape="rect" id="node5" href="group__commandwrappers.html#gac60b4740ceccf95b8e60d1896d93d2ab" title="_drush_escapeshellarg\l_windows" alt="" coords="203,74,357,121"/><area shape="rect" id="node7" href="includes_2environment_8inc.html#a88114295372bcb0ca8dbb5f10b36368e" title="drush_is_windows" alt="" coords="216,144,344,173"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group__commandwrappers_gafc52f7e769d935b4d2462467cdf8d5ee_icgraph.png" border="0" usemap="#group__commandwrappers_gafc52f7e769d935b4d2462467cdf8d5ee_icgraph" alt=""/></div>
<map name="group__commandwrappers_gafc52f7e769d935b4d2462467cdf8d5ee_icgraph" id="group__commandwrappers_gafc52f7e769d935b4d2462467cdf8d5ee_icgraph">
<area shape="rect" id="node3" href="backend_8inc.html#aa9bff3ffcd61a4dd945b567057a54e5d" title="_drush_backend_generate\l_command" alt="" coords="708,53,881,99"/><area shape="rect" id="node17" href="core_8drush_8inc.html#a056266865af8fe0a2178f1b6cd36dea1" title="_drush_core_execute_cmd" alt="" coords="705,1416,884,1445"/><area shape="rect" id="node19" href="core_8drush_8inc.html#a2df55d0bcfe26bcf84f513623345b9d8" title="drush_core_execute" alt="" coords="973,1556,1112,1585"/><area shape="rect" id="node21" href="backend_8inc.html#a76fe1964075bf89898a79d07885dcacf" title="_drush_escape_option" alt="" coords="223,188,375,217"/><area shape="rect" id="node27" href="group__commandwrappers.html#ga0eed47c4d6d19d386936ad57f34b10b2" title="_drush_shell_exec" alt="" coords="233,1105,364,1135"/><area shape="rect" id="node37" href="make_8download_8inc.html#af0b8a0195e141dd3d497d2e663d993fa" title="make_download_git" alt="" coords="727,243,863,272"/><area shape="rect" id="node43" href="git__drupalorg_8inc.html#a5332feb31d03dabd7e99bb9e8f763ce4" title="package_handler_download\l_project" alt="" coords="704,173,885,219"/><area shape="rect" id="node68" href="group__commandwrappers.html#ga53d0f833f21b8a22e0824e8c6bbe2260" title="drush_start_browser" alt="" coords="725,1155,864,1184"/><area shape="rect" id="node73" href="classDrush_1_1Sql_1_1SqlBase.html#a52e0c44fc5008ba624f54c2f439b0ae5" title="Drush\\Sql\\SqlBase\\query" alt="" coords="711,1312,879,1341"/><area shape="rect" id="node90" href="includes_2environment_8inc.html#a8839a1aae14125ef4128d1477827ca0e" title="drush_build_drush_command" alt="" coords="204,5,393,35"/><area shape="rect" id="node94" href="group__commandwrappers.html#gae0975650ba125212c2666e58729f43cf" title="drush_remote_host" alt="" coords="232,1520,365,1549"/><area shape="rect" id="node96" href="group__commandwrappers.html#ga78a7ff5045fa4fc20c8e24dd2ba8d777" title="drush_shell_proc_build" alt="" coords="464,1416,619,1445"/><area shape="rect" id="node99" href="ssh_8drush_8inc.html#a82a89cae3f9cd4bb76b6e9ac5bddb1cc" title="drush_ssh_site_ssh" alt="" coords="725,1469,864,1499"/><area shape="rect" id="node103" href="sitealias_8inc.html#ad847d30de6caee61a30ebc2059f9ad5a" title="drush_sitealias_evaluate_path" alt="" coords="443,1589,640,1619"/><area shape="rect" id="node111" href="group__commandwrappers.html#ga05d2e2e3f00d7f104058db507f0837b0" title="drush_wrap_with_quotes" alt="" coords="216,1624,381,1653"/><area shape="rect" id="node5" href="backend_8inc.html#a7852d5448cd4ee3a2082eccd24d690e7" title="drush_backend_invoke\l_concurrent" alt="" coords="965,78,1120,125"/><area shape="rect" id="node7" href="group__dispatching.html#ga125471885af052278a0874446b332cf9" title="drush_invoke_process" alt="" coords="1184,1016,1336,1045"/><area shape="rect" id="node15" href="make_8drush_8inc.html#a7f6c382e030da87fc401f133edd22f3b" title="make_projects" alt="" coords="1207,87,1313,116"/><area shape="rect" id="node9" href="archive_8drush_8inc.html#aa7d70b7ae4d41f7e3339ee5713b3a38c" title="drush_archive_dump" alt="" coords="1385,671,1527,700"/><area shape="rect" id="node11" href="config_8drush_8inc.html#aef4c2b9a90b1297e0e60e741bace5a4e" title="drush_config_import" alt="" coords="1387,1029,1525,1059"/><area shape="rect" id="node13" href="user_8drush_8inc.html#a9e3e0c6e440b7d0b94180025546176b7" title="drush_user_login" alt="" coords="1396,1095,1516,1124"/><area shape="rect" id="node23" href="backend_8inc.html#ad19c067bfbd87dfc63c55659723aaf60" title="_drush_backend_argument\l_string" alt="" coords="452,113,631,159"/><area shape="rect" id="node29" href="group__commandwrappers.html#gafd358ceac1286dbdd141ff2b8eb7d556" title="drush_shell_exec" alt="" coords="480,757,603,787"/><area shape="rect" id="node85" href="group__commandwrappers.html#gad0b72e62d81d339d68dc2d3d36db75d6" title="drush_shell_exec_interactive" alt="" coords="447,1209,636,1239"/><area shape="rect" id="node33" href="notify_8drush_8inc.html#a671bf218a111ec39d0f0fc2919e64daf" title="drush_notify_send_text" alt="" coords="716,891,873,920"/><area shape="rect" id="node35" href="notify_8drush_8inc.html#a1cf454258746f8e8a83c5fa9b9a91426" title="drush_notify_send_audio" alt="" coords="712,944,877,973"/><area shape="rect" id="node39" href="classDrushMakeProject.html#a86cb2ad32088f11522e027cd7e98c6ce" title="DrushMakeProject\\applyPatches" alt="" coords="688,997,901,1027"/><area shape="rect" id="node41" href="make_8utilities_8inc.html#ae5b2297055f24062509236670e55dc2a" title="make_tar" alt="" coords="757,1051,832,1080"/><area shape="rect" id="node49" href="wget_8inc.html#ae203b6a2394bb0cae2970befc56eea36" title="package_handler_validate" alt="" coords="709,469,880,499"/><area shape="rect" id="node51" href="pm_8drush_8inc.html#a7a7640133c515e06c96d0f4262b98c51" title="drush_pm_include_version\l_control" alt="" coords="707,295,883,342"/><area shape="rect" id="node54" href="classdrush__version__control__bzr.html#acabebe722be87098640dcdb5ae2c665f" title="drush_version_control\l_bzr\\rollback" alt="" coords="720,522,869,569"/><area shape="rect" id="node56" href="classdrush__version__control__svn.html#a0b1d64855ca50a88b586b067a652cd31" title="drush_version_control\l_svn\\rollback" alt="" coords="720,591,869,638"/><area shape="rect" id="node58" href="sync__via__http_8drush_8inc.html#ababb0956fc32b685a05e6ccef8347672" title="_drush_sync_via_http\l_download_file" alt="" coords="720,661,869,707"/><area shape="rect" id="node60" href="xkcd_8drush_8inc.html#a1639c8faf7d2d4cdc7563792b479cd69" title="drush_xkcd_display" alt="" coords="727,731,863,760"/><area shape="rect" id="node62" href="complete_8inc.html#a7d912e55f6aa1d293bcacdd6568eeaf1" title="drush_complete_match_file" alt="" coords="704,784,885,813"/><area shape="rect" id="node64" href="group__userinput.html#gabbb9a40c8f7e0ba5ec384ccf86305a20" title="drush_prompt" alt="" coords="744,837,845,867"/><area shape="rect" id="node66" href="drush_8inc.html#a5c2a88712f3905874900166f3b2c397c" title="_drush_download_file" alt="" coords="721,416,868,445"/><area shape="rect" id="node45" href="download_8pm_8inc.html#a802dd9a63e5ab3a3a8472d4635d3c662" title="drush_pm_download" alt="" coords="972,273,1113,303"/><area shape="rect" id="node47" href="wget_8inc.html#ad78396b0bbd545b14effe61f16f880ac" title="package_handler_update\l_project" alt="" coords="960,173,1125,219"/><area shape="rect" id="node70" href="runserver_8drush_8inc.html#a8db8226cf620f67826b59f6091142f60" title="drush_core_runserver" alt="" coords="969,1172,1116,1201"/><area shape="rect" id="node75" href="classDrush_1_1Sql_1_1SqlBase.html#ab535d0d2d28dcbae9c83f1f62328a3a5" title="Drush\\Sql\\SqlBase\\createdb" alt="" coords="949,1295,1136,1324"/><area shape="rect" id="node77" href="classDrush_1_1Sql_1_1Sqlmysql.html#ada72881fa1ee6a7463c570f129c39890" title="Drush\\Sql\\Sqlmysql\l\\listTables" alt="" coords="973,1347,1112,1394"/><area shape="rect" id="node79" href="classDrush_1_1Sql_1_1Sqlpgsql.html#a3ba61916404cdef744d23c08d2e395b6" title="Drush\\Sql\\Sqlpgsql\l\\listTables" alt="" coords="976,1417,1109,1463"/><area shape="rect" id="node81" href="classDrush_1_1Sql_1_1Sqlsqlite.html#a62317dd9072f29c1af6a7bdd4ae42673" title="Drush\\Sql\\Sqlsqlite\l\\listTables" alt="" coords="976,1486,1109,1533"/><area shape="rect" id="node83" href="classDrush_1_1Sql_1_1Sqlsqlsrv.html#a765255867524cc6404b302f39e04057c" title="Drush\\Sql\\Sqlsqlsrv\l\\listTables" alt="" coords="973,1225,1112,1271"/><area shape="rect" id="node87" href="config_8drush_8inc.html#a6258f151a3c27b586409d46f1799a666" title="drush_config_export" alt="" coords="725,1208,864,1237"/><area shape="rect" id="node101" href="sitealias_8inc.html#a926d838da4c2c24300e7e7461d8079b0" title="drush_sitealias_alias\l_record_to_spec" alt="" coords="471,1519,612,1566"/><area shape="rect" id="node105" href="core_8drush_8inc.html#a9a3c48f1649db4b3c008b11258cdcce5" title="_drush_core_directory" alt="" coords="720,1589,869,1619"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ga516aab026be224e57d9fc0fe9c3de79f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">drush_get_editor </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Returns executable code for invoking preferred test editor.</p>
<p>The next line after calling this function is usually </p>
<div class="fragment"><div class="line"><a class="code" href="group__commandwrappers.html#gad0b72e62d81d339d68dc2d3d36db75d6">drush_shell_exec_interactive</a>($exec, $filepath, $filepath) </div>
</div><!-- fragment --><dl class="section see"><dt>See Also</dt><dd><a class="el" href="config_8drush_8inc.html#ad72fddd99c71a1a854d36dd81e1a80f1">drush_config_edit()</a> </dd></dl>

<p>Definition at line <a class="el" href="exec_8inc_source.html#l00090">90</a> of file <a class="el" href="exec_8inc_source.html">exec.inc</a>.</p>

<p>References <a class="el" href="context_8inc_source.html#l00405">drush_get_option()</a>.</p>

<p>Referenced by <a class="el" href="config_8drush_8inc_source.html#l00403">drush_config_edit()</a>, and <a class="el" href="core_8drush_8inc_source.html#l00662">drush_core_config()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group__commandwrappers_ga516aab026be224e57d9fc0fe9c3de79f_cgraph.png" border="0" usemap="#group__commandwrappers_ga516aab026be224e57d9fc0fe9c3de79f_cgraph" alt=""/></div>
<map name="group__commandwrappers_ga516aab026be224e57d9fc0fe9c3de79f_cgraph" id="group__commandwrappers_ga516aab026be224e57d9fc0fe9c3de79f_cgraph">
<area shape="rect" id="node3" href="context_8inc.html#afe91fb3e5219ecb2208c3b036b1f0cb8" title="drush_get_option" alt="" coords="175,59,295,88"/><area shape="rect" id="node5" href="context_8inc.html#aee5781894bf828bfa508d9052553f809" title="_drush_get_option" alt="" coords="356,5,484,35"/><area shape="rect" id="node7" href="context_8inc.html#a9f6272c1a68141ce873c07aae3a316ac" title="drush_context_names" alt="" coords="345,59,495,88"/><area shape="rect" id="node9" href="context_8inc.html#ad25559f8d7d753f636fbeac347c29fc5" title="drush_get_context" alt="" coords="356,112,484,141"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group__commandwrappers_ga516aab026be224e57d9fc0fe9c3de79f_icgraph.png" border="0" usemap="#group__commandwrappers_ga516aab026be224e57d9fc0fe9c3de79f_icgraph" alt=""/></div>
<map name="group__commandwrappers_ga516aab026be224e57d9fc0fe9c3de79f_icgraph" id="group__commandwrappers_ga516aab026be224e57d9fc0fe9c3de79f_icgraph">
<area shape="rect" id="node3" href="config_8drush_8inc.html#ad72fddd99c71a1a854d36dd81e1a80f1" title="drush_config_edit" alt="" coords="176,5,299,35"/><area shape="rect" id="node5" href="core_8drush_8inc.html#a7f88afe2a5459be981ef1cfa4a60af65" title="drush_core_config" alt="" coords="173,59,301,88"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ga9199c80718bb0497997bd9f7b783911a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">drush_op_system </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$exec</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Calls 'system()' function, passing through all arguments unchanged.</p>
<p>This should be used when calling possibly mutative or destructive functions (e.g. unlink() and other file system functions) so that can be suppressed if the simulation mode is enabled.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">$exec</td><td>The shell command to execute. Parameters should already be escaped. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The result code from system(): 0 == success.</dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="group__commandwrappers.html#gafd358ceac1286dbdd141ff2b8eb7d556">drush_shell_exec()</a> </dd></dl>

<p>Definition at line <a class="el" href="exec_8inc_source.html#l00027">27</a> of file <a class="el" href="exec_8inc_source.html">exec.inc</a>.</p>

<p>References <a class="el" href="context_8inc_source.html#l00328">drush_get_context()</a>, and <a class="el" href="output_8inc_source.html#l00026">drush_print()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group__commandwrappers_ga9199c80718bb0497997bd9f7b783911a_cgraph.png" border="0" usemap="#group__commandwrappers_ga9199c80718bb0497997bd9f7b783911a_cgraph" alt=""/></div>
<map name="group__commandwrappers_ga9199c80718bb0497997bd9f7b783911a_cgraph" id="group__commandwrappers_ga9199c80718bb0497997bd9f7b783911a_cgraph">
<area shape="rect" id="node3" href="context_8inc.html#ad25559f8d7d753f636fbeac347c29fc5" title="drush_get_context" alt="" coords="497,5,625,35"/><area shape="rect" id="node5" href="group__outputfunctions.html#ga63acbb94925d6d2693e235e966bba740" title="drush_print" alt="" coords="180,59,265,88"/><area shape="rect" id="node7" href="context_8inc.html#afe91fb3e5219ecb2208c3b036b1f0cb8" title="drush_get_option" alt="" coords="316,59,436,88"/><area shape="rect" id="node9" href="context_8inc.html#aee5781894bf828bfa508d9052553f809" title="_drush_get_option" alt="" coords="497,59,625,88"/><area shape="rect" id="node11" href="context_8inc.html#a9f6272c1a68141ce873c07aae3a316ac" title="drush_context_names" alt="" coords="487,112,636,141"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ga1292121e5bdd4bf19ef4f944b16301ed"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">drush_os </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$site_record</em> = <code>NULL</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Determine the appropriate os value for the specified site record</p>
<dl class="section return"><dt>Returns</dt><dd>NULL for 'same as local machine', 'Windows' or 'Linux'. </dd></dl>

<p>Definition at line <a class="el" href="exec_8inc_source.html#l00261">261</a> of file <a class="el" href="exec_8inc_source.html">exec.inc</a>.</p>

<p>References <a class="el" href="context_8inc_source.html#l00405">drush_get_option()</a>.</p>

<p>Referenced by <a class="el" href="backend_8inc_source.html#l01097">_drush_backend_generate_command()</a>, <a class="el" href="backend_8inc_source.html#l00706">drush_backend_invoke_concurrent()</a>, and <a class="el" href="exec_8inc_source.html#l00185">drush_shell_proc_build()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group__commandwrappers_ga1292121e5bdd4bf19ef4f944b16301ed_cgraph.png" border="0" usemap="#group__commandwrappers_ga1292121e5bdd4bf19ef4f944b16301ed_cgraph" alt=""/></div>
<map name="group__commandwrappers_ga1292121e5bdd4bf19ef4f944b16301ed_cgraph" id="group__commandwrappers_ga1292121e5bdd4bf19ef4f944b16301ed_cgraph">
<area shape="rect" id="node3" href="context_8inc.html#afe91fb3e5219ecb2208c3b036b1f0cb8" title="drush_get_option" alt="" coords="129,59,249,88"/><area shape="rect" id="node5" href="context_8inc.html#aee5781894bf828bfa508d9052553f809" title="_drush_get_option" alt="" coords="311,5,439,35"/><area shape="rect" id="node7" href="context_8inc.html#a9f6272c1a68141ce873c07aae3a316ac" title="drush_context_names" alt="" coords="300,59,449,88"/><area shape="rect" id="node9" href="context_8inc.html#ad25559f8d7d753f636fbeac347c29fc5" title="drush_get_context" alt="" coords="311,112,439,141"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group__commandwrappers_ga1292121e5bdd4bf19ef4f944b16301ed_icgraph.png" border="0" usemap="#group__commandwrappers_ga1292121e5bdd4bf19ef4f944b16301ed_icgraph" alt=""/></div>
<map name="group__commandwrappers_ga1292121e5bdd4bf19ef4f944b16301ed_icgraph" id="group__commandwrappers_ga1292121e5bdd4bf19ef4f944b16301ed_icgraph">
<area shape="rect" id="node3" href="backend_8inc.html#aa9bff3ffcd61a4dd945b567057a54e5d" title="_drush_backend_generate\l_command" alt="" coords="129,715,303,762"/><area shape="rect" id="node5" href="backend_8inc.html#a7852d5448cd4ee3a2082eccd24d690e7" title="drush_backend_invoke\l_concurrent" alt="" coords="364,727,519,774"/><area shape="rect" id="node98" href="group__commandwrappers.html#ga78a7ff5045fa4fc20c8e24dd2ba8d777" title="drush_shell_proc_build" alt="" coords="139,836,293,865"/><area shape="rect" id="node7" href="group__dispatching.html#ga125471885af052278a0874446b332cf9" title="drush_invoke_process" alt="" coords="579,773,731,803"/><area shape="rect" id="node89" href="make_8drush_8inc.html#a7f6c382e030da87fc401f133edd22f3b" title="make_projects" alt="" coords="601,59,708,88"/><area shape="rect" id="node9" href="commands_2core_2drupal_2batch_8inc.html#aaf9128a2dbd643871368ffdc18216a76" title="_drush_backend_batch\l_process" alt="" coords="807,234,961,281"/><area shape="rect" id="node19" href="archive_8drush_8inc.html#aa7d70b7ae4d41f7e3339ee5713b3a38c" title="drush_archive_dump" alt="" coords="1308,300,1449,329"/><area shape="rect" id="node21" href="archive_8drush_8inc.html#a3d1644997af6a5792dda2213cae3f4cc" title="drush_archive_restore" alt="" coords="809,613,959,643"/><area shape="rect" id="node23" href="config_8drush_8inc.html#aef4c2b9a90b1297e0e60e741bace5a4e" title="drush_config_import" alt="" coords="815,667,953,696"/><area shape="rect" id="node25" href="core_8drush_8inc.html#a90902b3f529eb012f2ae825cd60f00f1" title="drush_core_quick_drupal" alt="" coords="801,720,967,749"/><area shape="rect" id="node27" href="core_8drush_8inc.html#a496a7a4d064f54c13fc03c1c6e2844f4" title="drush_core_updatedb" alt="" coords="811,773,957,803"/><area shape="rect" id="node29" href="group__commandprocessing.html#ga2e0ae6f140c9e0f5c301657cebde33d6" title="drush_do_command_redispatch" alt="" coords="781,877,987,907"/><area shape="rect" id="node31" href="group__commandprocessing.html#gac5fea44d3fe064240192925f864d57a6" title="drush_preflight_command\l_dispatch" alt="" coords="1051,843,1221,890"/><area shape="rect" id="node35" href="group__commandprocessing.html#gaadd12f0ca081399dea1c99984c77e567" title="drush_do_multiple_command" alt="" coords="1284,615,1473,644"/><area shape="rect" id="node37" href="docs_8drush_8inc.html#afd2b4818980db269a5807a6148edcc3a" title="drush_docs_errorcodes" alt="" coords="805,931,963,960"/><area shape="rect" id="node39" href="migrate_8d8_8drush_8inc.html#a3197cf2ac638ec4b04a4e05ba0917cb6" title="drush_migrate_manifest" alt="" coords="804,984,964,1013"/><area shape="rect" id="node41" href="pm_8drush_8inc.html#af9a0b321cd245d1e1f3424ae5c9acde9" title="drush_pm_enable_validate" alt="" coords="796,1037,972,1067"/><area shape="rect" id="node43" href="pm_8drush_8inc.html#a8e8de4df92563916a09695cd77887a3e" title="drush_pm_post_pm_update" alt="" coords="793,1091,975,1120"/><area shape="rect" id="node45" href="pm_8drush_8inc.html#a05bb1cb687b1caa097ad691a4c9a3fc1" title="drush_pm_post_pm_updatecode" alt="" coords="779,1144,989,1173"/><area shape="rect" id="node47" href="updatecode_8pm_8inc.html#a7075f7486950df7a67f512a3533fef41" title="drush_pm_updatecode" alt="" coords="808,1197,960,1227"/><area shape="rect" id="node50" href="sitealias_8inc.html#a55b71bb6e4dda1cff7e68ef49331ba6d" title="drush_sitealias_add\l_db_settings" alt="" coords="816,354,952,401"/><area shape="rect" id="node63" href="sitealias_8inc.html#a6bcaf6211d8387c6f154d6592287cf3f" title="drush_sitealias_add\l_db_url" alt="" coords="816,423,952,470"/><area shape="rect" id="node71" href="sitealias_8inc.html#ac47e3ae7659cedce04c044c53fdb5c37" title="drush_sitealias_resolve\l_path_references" alt="" coords="805,493,963,539"/><area shape="rect" id="node76" href="sync__enable_8drush_8inc.html#a3a368f74d0f207259280533c50b3a5d3" title="drush_sync_enable_post\l_sql_sync" alt="" coords="801,1250,967,1297"/><area shape="rect" id="node78" href="test_8drush_8inc.html#a57434dfc9c0efc59211c97e949c64529" title="drush_test_run" alt="" coords="1083,1344,1189,1373"/><area shape="rect" id="node80" href="test_8drush_8inc.html#a4c0795f7fba4f6bc705858edae5d9f2f" title="drush_test_run_class" alt="" coords="811,1371,957,1400"/><area shape="rect" id="node83" href="user_8drush_8inc.html#a9e3e0c6e440b7d0b94180025546176b7" title="drush_user_login" alt="" coords="824,1424,944,1453"/><area shape="rect" id="node85" href="make_8download_8inc.html#a1a9f4bc0852743166afa72edf88008f4" title="make_download_pm" alt="" coords="813,112,955,141"/><area shape="rect" id="node87" href="classUnish_1_1backendUnitCase.html#a360517a082c4fda6fbec701ec7242012" title="Unish\\backendUnitCase\l\\testBackendFork" alt="" coords="803,165,965,211"/><area shape="rect" id="node11" href="includes_2batch_8inc.html#a706c51a974d149cdc701f47f9843143b" title="drush_backend_batch\l_process" alt="" coords="1061,209,1211,255"/><area shape="rect" id="node13" href="commands_2pm_2update__info_2drupal_8inc.html#afa1132bbe8f4d56b787a9a93d4971871" title="_pm_get_update_info" alt="" coords="1305,140,1452,169"/><area shape="rect" id="node15" href="unit_8drush_8inc.html#ae381f2b0e4bd97806103a439b9af1b0c" title="drush_unit_batch" alt="" coords="1319,193,1439,223"/><area shape="rect" id="node17" href="update_8inc.html#acb7719984816f5c3fcf003a93e8a9947" title="drush_update_batch" alt="" coords="1309,247,1448,276"/><area shape="rect" id="node33" href="drush_8php.html#a2b642d2bbf815b6d80c315fd66b37381" title="drush_main" alt="" coords="1335,852,1423,881"/><area shape="rect" id="node52" href="sitealias_8drush_8inc.html#a597ef7478691e3e37d253d5617553b7e" title="_drush_sitealias_prepare\l_record" alt="" coords="1053,423,1219,470"/><area shape="rect" id="node56" href="sitealias_8inc.html#a70da7111e390efcc4dab4f9ba52dbe8b" title="sitealias_get_databases\l_from_record" alt="" coords="1055,354,1217,401"/><area shape="rect" id="node54" href="sitealias_8drush_8inc.html#a50bb1ab798f857c144715b783c71c480" title="drush_sitealias_print" alt="" coords="1308,492,1449,521"/><area shape="rect" id="node59" href="sitealias_8inc.html#ae5887e3bdfbe9c2b05377628067ac9d9" title="drush_sitealias_get\l_db_spec" alt="" coords="1312,353,1445,399"/><area shape="rect" id="node61" href="sql_8drush_8inc.html#a31ea6e16a805e81fad22960a6325ec51" title="sql_drush_sql_sync\l_sanitize" alt="" coords="1311,422,1447,469"/><area shape="rect" id="node66" href="sitealias_8inc.html#a926d838da4c2c24300e7e7461d8079b0" title="drush_sitealias_alias\l_record_to_spec" alt="" coords="1065,493,1207,539"/><area shape="rect" id="node68" href="sitealias_8inc.html#a432d1b4f4f62b73ecf29aa29501571a7" title="_drush_sitealias_initialize\l_alias_record" alt="" coords="1293,545,1464,591"/><area shape="rect" id="node74" href="sitealias_8inc.html#ad847d30de6caee61a30ebc2059f9ad5a" title="drush_sitealias_evaluate_path" alt="" coords="1037,563,1235,592"/><area shape="rect" id="node91" href="make_8drush_8inc.html#a64e3d2b9948951c3f141802f41658359" title="drush_make" alt="" coords="837,5,931,35"/><area shape="rect" id="node93" href="classDrushMakeProject.html#a14e2e297d82eea0e5bd316255d092da8" title="DrushMakeProject\\recurse" alt="" coords="796,59,972,88"/><area shape="rect" id="node95" href="classDrushMakeProject.html#ad59196db4820ff959dd6088fb8293b75" title="DrushMakeProject\\make" alt="" coords="1053,59,1219,88"/><area shape="rect" id="node100" href="core_8drush_8inc.html#a056266865af8fe0a2178f1b6cd36dea1" title="_drush_core_execute_cmd" alt="" coords="352,864,531,893"/><area shape="rect" id="node104" href="ssh_8drush_8inc.html#a82a89cae3f9cd4bb76b6e9ac5bddb1cc" title="drush_ssh_site_ssh" alt="" coords="372,811,511,840"/><area shape="rect" id="node102" href="core_8drush_8inc.html#a2df55d0bcfe26bcf84f513623345b9d8" title="drush_core_execute" alt="" coords="585,864,724,893"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="gae0975650ba125212c2666e58729f43cf"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">drush_remote_host </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$site</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$prefix</em> = <code>''</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Determine the remote host (<a href="#" onclick="location.href='mai'+'lto:'+'use'+'rn'+'ame'+'@h'+'ost'+'na'+'me.'+'tl'+'d'; return false;">usern<span style="display: none;">.nosp@m.</span>ame@<span style="display: none;">.nosp@m.</span>hostn<span style="display: none;">.nosp@m.</span>ame.<span style="display: none;">.nosp@m.</span>tld</a>) for the specified site. </p>

<p>Definition at line <a class="el" href="exec_8inc_source.html#l00281">281</a> of file <a class="el" href="exec_8inc_source.html">exec.inc</a>.</p>

<p>References <a class="el" href="exec_8inc_source.html#l00312">drush_escapeshellarg()</a>, and <a class="el" href="context_8inc_source.html#l00489">drush_sitealias_get_option()</a>.</p>

<p>Referenced by <a class="el" href="exec_8inc_source.html#l00185">drush_shell_proc_build()</a>, <a class="el" href="sitealias_8inc_source.html#l01289">drush_sitealias_alias_record_to_spec()</a>, and <a class="el" href="sitealias_8inc_source.html#l01842">drush_sitealias_evaluate_path()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group__commandwrappers_gae0975650ba125212c2666e58729f43cf_cgraph.png" border="0" usemap="#group__commandwrappers_gae0975650ba125212c2666e58729f43cf_cgraph" alt=""/></div>
<map name="group__commandwrappers_gae0975650ba125212c2666e58729f43cf_cgraph" id="group__commandwrappers_gae0975650ba125212c2666e58729f43cf_cgraph">
<area shape="rect" id="node3" href="group__commandwrappers.html#gafc52f7e769d935b4d2462467cdf8d5ee" title="drush_escapeshellarg" alt="" coords="188,96,335,125"/><area shape="rect" id="node11" href="context_8inc.html#add3af7aa09b1ccf49718577a8d7aa61d" title="drush_sitealias_get\l_option" alt="" coords="195,162,328,209"/><area shape="rect" id="node5" href="group__commandwrappers.html#ga561ce790cc15caa5e1f0bfebc2546529" title="_drush_escapeshellarg\l_linux" alt="" coords="384,5,539,51"/><area shape="rect" id="node7" href="group__commandwrappers.html#gac60b4740ceccf95b8e60d1896d93d2ab" title="_drush_escapeshellarg\l_windows" alt="" coords="384,74,539,121"/><area shape="rect" id="node9" href="includes_2environment_8inc.html#a88114295372bcb0ca8dbb5f10b36368e" title="drush_is_windows" alt="" coords="397,144,525,173"/><area shape="rect" id="node13" href="context_8inc.html#afe91fb3e5219ecb2208c3b036b1f0cb8" title="drush_get_option" alt="" coords="401,197,521,227"/><area shape="rect" id="node15" href="context_8inc.html#aee5781894bf828bfa508d9052553f809" title="_drush_get_option" alt="" coords="599,144,727,173"/><area shape="rect" id="node17" href="context_8inc.html#a9f6272c1a68141ce873c07aae3a316ac" title="drush_context_names" alt="" coords="588,197,737,227"/><area shape="rect" id="node19" href="context_8inc.html#ad25559f8d7d753f636fbeac347c29fc5" title="drush_get_context" alt="" coords="599,251,727,280"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group__commandwrappers_gae0975650ba125212c2666e58729f43cf_icgraph.png" border="0" usemap="#group__commandwrappers_gae0975650ba125212c2666e58729f43cf_icgraph" alt=""/></div>
<map name="group__commandwrappers_gae0975650ba125212c2666e58729f43cf_icgraph" id="group__commandwrappers_gae0975650ba125212c2666e58729f43cf_icgraph">
<area shape="rect" id="node3" href="group__commandwrappers.html#ga78a7ff5045fa4fc20c8e24dd2ba8d777" title="drush_shell_proc_build" alt="" coords="1005,909,1160,939"/><area shape="rect" id="node11" href="sitealias_8inc.html#a926d838da4c2c24300e7e7461d8079b0" title="drush_sitealias_alias\l_record_to_spec" alt="" coords="188,1634,329,1681"/><area shape="rect" id="node51" href="sitealias_8inc.html#ad847d30de6caee61a30ebc2059f9ad5a" title="drush_sitealias_evaluate_path" alt="" coords="1463,1532,1660,1561"/><area shape="rect" id="node5" href="core_8drush_8inc.html#a056266865af8fe0a2178f1b6cd36dea1" title="_drush_core_execute_cmd" alt="" coords="1223,909,1401,939"/><area shape="rect" id="node9" href="ssh_8drush_8inc.html#a82a89cae3f9cd4bb76b6e9ac5bddb1cc" title="drush_ssh_site_ssh" alt="" coords="1243,424,1381,453"/><area shape="rect" id="node7" href="core_8drush_8inc.html#a2df55d0bcfe26bcf84f513623345b9d8" title="drush_core_execute" alt="" coords="1492,1017,1631,1047"/><area shape="rect" id="node13" href="sitealias_8inc.html#a432d1b4f4f62b73ecf29aa29501571a7" title="_drush_sitealias_initialize\l_alias_record" alt="" coords="379,1257,549,1303"/><area shape="rect" id="node69" href="group__commandprocessing.html#gaadd12f0ca081399dea1c99984c77e567" title="drush_do_multiple_command" alt="" coords="1935,1419,2124,1448"/><area shape="rect" id="node15" href="sitealias_8inc.html#a33aa8e8ae8df2578bbed0d893e0b8f7a" title="_drush_sitealias_find\l_and_load_all_aliases" alt="" coords="597,1043,747,1090"/><area shape="rect" id="node17" href="sitealias_8inc.html#a1313cf54d1c18ec59bcc91127becc166" title="drush_sitealias_load_all" alt="" coords="795,537,955,567"/><area shape="rect" id="node41" href="sitealias_8inc.html#a49723d857350c5f3501001cede845fa5" title="drush_sitealias_lookup\l_alias_by_path" alt="" coords="797,1043,952,1090"/><area shape="rect" id="node19" href="sitealias_8drush_8inc.html#ab84f25812ecd477686e6fa349503ed8d" title="_drush_sitealias_all_list" alt="" coords="1003,217,1163,247"/><area shape="rect" id="node21" href="sitealias_8drush_8inc.html#abcb2a29ddfe9b3f66120793287c143c2" title="_drush_sitealias_user\l_specified_list" alt="" coords="1724,375,1871,422"/><area shape="rect" id="node25" href="archive_8drush_8inc.html#a49945bfa5c147d67734c75e001faeeb8" title="archive_archive_dump\l_complete" alt="" coords="1236,301,1388,347"/><area shape="rect" id="node27" href="core_8drush_8inc.html#a2a2d7804784871fbbc8b14699d17b79c" title="core_core_rsync_complete" alt="" coords="1223,371,1401,400"/><area shape="rect" id="node29" href="complete_8inc.html#af377cea6e3311628f37a738698e1fb4c" title="drush_complete_rebuild" alt="" coords="1233,5,1391,35"/><area shape="rect" id="node35" href="sitealias_8drush_8inc.html#a111c507228e24bf6aa1bc4e368fcadda" title="sitealias_site_alias\l_complete" alt="" coords="1247,109,1377,155"/><area shape="rect" id="node37" href="sitealias_8drush_8inc.html#aa94645cd530207c93d7e11445ceb7651" title="sitealias_site_set\l_complete" alt="" coords="1251,178,1373,225"/><area shape="rect" id="node39" href="sql_8drush_8inc.html#a6c0438aa3afaa78282707b5165e386e4" title="sql_sql_sync_complete" alt="" coords="1233,248,1391,277"/><area shape="rect" id="node23" href="sitealias_8drush_8inc.html#a50bb1ab798f857c144715b783c71c480" title="drush_sitealias_print" alt="" coords="1959,384,2100,413"/><area shape="rect" id="node31" href="complete_8inc.html#ac5c1cad8930371b383f35f1baf65692e" title="drush_complete_get" alt="" coords="1492,71,1631,100"/><area shape="rect" id="node33" href="complete_8inc.html#adbec292adabdfe3772d4ede574ab91c9" title="drush_early_complete" alt="" coords="1723,129,1872,159"/><area shape="rect" id="node43" href="sitealias_8inc.html#ac2f57b80441374522c4e4cdc3b7e0c2b" title="drush_sitealias_get\l_record" alt="" coords="1016,1043,1149,1090"/><area shape="rect" id="node45" href="sitealias_8inc.html#a448de5768a772d33e44f86cfefe070ac" title="_drush_sitealias_get\l_record" alt="" coords="1241,1341,1383,1387"/><area shape="rect" id="node49" href="sitealias_8inc.html#aba0142245fe1b01f094d42fb060391b1" title="_drush_sitealias_preflight_path" alt="" coords="1212,1480,1412,1509"/><area shape="rect" id="node57" href="sitealias_8inc.html#a276a2325cb18922b6d365c13a6ed7d66" title="_drush_sitealias_set\l_context_by_name" alt="" coords="1241,581,1383,627"/><area shape="rect" id="node65" href="backend_8inc.html#a7852d5448cd4ee3a2082eccd24d690e7" title="drush_backend_invoke\l_concurrent" alt="" coords="1235,839,1389,886"/><area shape="rect" id="node73" href="backend_8inc.html#a3d855df98e2c6cb0314a947058f92b99" title="drush_backend_output" alt="" coords="1236,528,1388,557"/><area shape="rect" id="node81" href="includes_2command_8inc.html#a019118f49079e478cd35ca8eb17998c1" title="drush_process_bootstrap\l_to_first_arg" alt="" coords="1228,719,1396,766"/><area shape="rect" id="node85" href="includes_2command_8inc.html#af671cda00f17af8bc39ff470a3844bab" title="drush_shell_alias_replace" alt="" coords="1712,736,1883,765"/><area shape="rect" id="node89" href="sitealias_8inc.html#a0c03b431ce6b8291d85dfd206e516159" title="drush_sitealias_bootstrapped\l_site_name" alt="" coords="1217,1013,1407,1059"/><area shape="rect" id="node91" href="sitealias_8inc.html#a49c2ae562dfc96846a235e521c945a20" title="drush_sitealias_create\l_self_alias" alt="" coords="1236,650,1388,697"/><area shape="rect" id="node97" href="sitealias_8inc.html#a09f500deb9e45e97098a37a4caa374ee" title="drush_sitealias_is\l_bootstrapped_site" alt="" coords="1247,1133,1377,1179"/><area shape="rect" id="node99" href="sitealias_8inc.html#a5437d4bdf307bcc37cd15e903b3d99a9" title="drush_sitealias_is\l_remote_site" alt="" coords="1249,1202,1375,1249"/><area shape="rect" id="node101" href="sitealias_8inc.html#a79d866a010f76b7d6ec47ab2a72a0c43" title="drush_sitealias_resolve\l_sitelist" alt="" coords="1233,1410,1391,1457"/><area shape="rect" id="node106" href="sitealias_8inc.html#a0dd349885b59373b8a067d7589d096e7" title="drush_sitealias_resolve\l_sitespecs" alt="" coords="1483,1070,1640,1117"/><area shape="rect" id="node112" href="sql_8drush_8inc.html#a31ea6e16a805e81fad22960a6325ec51" title="sql_drush_sql_sync\l_sanitize" alt="" coords="1244,1271,1380,1318"/><area shape="rect" id="node53" href="core_8drush_8inc.html#a9a3c48f1649db4b3c008b11258cdcce5" title="_drush_core_directory" alt="" coords="1723,1532,1872,1561"/><area shape="rect" id="node55" href="core_8drush_8inc.html#af176c288575033228263e7f9fcf406f4" title="drush_core_drupal_directory" alt="" coords="1937,1532,2121,1561"/><area shape="rect" id="node59" href="sitealias_8inc.html#aea0a6ddf95752b4958fc14698a8db017" title="drush_sitealias_check_arg" alt="" coords="1709,579,1885,608"/><area shape="rect" id="node63" href="sitealias_8drush_8inc.html#a617aa7e74fc3c55cb99263a84e414466" title="drush_sitealias_site_set" alt="" coords="1480,528,1643,557"/><area shape="rect" id="node61" href="preflight_8inc.html#a17ac1cc81941cb760a5101343e963f74" title="drush_preflight" alt="" coords="1976,631,2083,660"/><area shape="rect" id="node67" href="group__dispatching.html#ga125471885af052278a0874446b332cf9" title="drush_invoke_process" alt="" coords="1721,1079,1873,1108"/><area shape="rect" id="node71" href="make_8drush_8inc.html#a7f6c382e030da87fc401f133edd22f3b" title="make_projects" alt="" coords="1508,848,1615,877"/><area shape="rect" id="node75" href="preflight_8inc.html#a615008fc32203b55f5355e105450d60b" title="drush_shutdown" alt="" coords="1503,421,1620,451"/><area shape="rect" id="node77" href="unit_8drush_8inc.html#ae381f2b0e4bd97806103a439b9af1b0c" title="drush_unit_batch" alt="" coords="1501,475,1621,504"/><area shape="rect" id="node83" href="includes_2command_8inc.html#a5c7d0d064d4cb56bfe2b2311e5643e11" title="drush_parse_args" alt="" coords="1499,736,1624,765"/><area shape="rect" id="node93" href="lib_2Drush_2Boot_2bootstrap_8inc.html#af264ad4df6841a41b7b37f6eed2ea3b4" title="_drush_bootstrap_selected_uri" alt="" coords="1463,683,1660,712"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ga59e8ee9f53442f2029080ac723ed008f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">drush_shell_cd_and_exec </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$effective_wd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$cmd</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Executes a shell command at a new working directory. The old cwd is restored on exit.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">$effective_wd</td><td>The new working directory to execute the shell command at. </td></tr>
    <tr><td class="paramname">$cmd</td><td>The command to execute. May include placeholders used for sprintf. </td></tr>
    <tr><td class="paramname">...</td><td>Values for the placeholders specified in $cmd. Each of these will be passed through escapeshellarg() to ensure they are safe to use on the command line. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>TRUE on success, FALSE on failure </dd></dl>

<p>Definition at line <a class="el" href="exec_8inc_source.html#l00054">54</a> of file <a class="el" href="exec_8inc_source.html">exec.inc</a>.</p>

<p>References <a class="el" href="drush_8inc_source.html#l00659">drush_op()</a>.</p>

<p>Referenced by <a class="el" href="generate_8make_8inc_source.html#l00164">_drush_generate_custom_project()</a>, <a class="el" href="archive_8drush_8inc_source.html#l00071">drush_archive_dump()</a>, <a class="el" href="git__drupalorg_8inc_source.html#l00239">drush_pm_git_drupalorg_compute_rebuild_version()</a>, <a class="el" href="drush_8inc_source.html#l00958">drush_tarball_extract()</a>, <a class="el" href="make_8download_8inc_source.html#l00216">make_download_git()</a>, <a class="el" href="git__drupalorg_8inc_source.html#l00047">package_handler_download_project()</a>, <a class="el" href="git__drupalorg_8inc_source.html#l00181">package_handler_post_download()</a>, and <a class="el" href="git__drupalorg_8inc_source.html#l00148">package_handler_update_project()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group__commandwrappers_ga59e8ee9f53442f2029080ac723ed008f_cgraph.png" border="0" usemap="#group__commandwrappers_ga59e8ee9f53442f2029080ac723ed008f_cgraph" alt=""/></div>
<map name="group__commandwrappers_ga59e8ee9f53442f2029080ac723ed008f_cgraph" id="group__commandwrappers_ga59e8ee9f53442f2029080ac723ed008f_cgraph">
<area shape="rect" id="node3" href="drush_8inc.html#a903c36790dbe5525fe9369c8476780af" title="drush_op" alt="" coords="227,100,301,129"/><area shape="rect" id="node5" href="drush_8inc.html#a2dd83647cc42a2dfcde54dc38f54827d" title="drush_call_user_func\l_array" alt="" coords="351,5,495,51"/><area shape="rect" id="node7" href="context_8inc.html#ad25559f8d7d753f636fbeac347c29fc5" title="drush_get_context" alt="" coords="967,151,1095,180"/><area shape="rect" id="node9" href="group__logging.html#gad820f489a93518301794ada4ff7816b6" title="drush_log" alt="" coords="573,125,651,155"/><area shape="rect" id="node15" href="group__outputfunctions.html#ga1218abcb1e27dd3bb412113d1e344d96" title="dt" alt="" coords="404,203,441,232"/><area shape="rect" id="node11" href="backend_8inc.html#a38490210d77373f3d8492caf4e9a3190" title="drush_backend_packet" alt="" coords="729,176,884,205"/><area shape="rect" id="node17" href="includes_2drupal_8inc.html#ad2ccab77d4bc8e7355186f26cd328ac0" title="drush_drupal_major\l_version" alt="" coords="545,207,679,254"/><area shape="rect" id="node19" href="includes_2drupal_8inc.html#a203e989fd043d054d774954e2b2dff21" title="drush_drupal_version" alt="" coords="735,229,879,259"/><area shape="rect" id="node21" href="includes_2drupal_8inc.html#aa7ac001ed15d678fa533b54d962eb5bc" title="drush_drupal_load_autoloader" alt="" coords="933,229,1128,259"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group__commandwrappers_ga59e8ee9f53442f2029080ac723ed008f_icgraph.png" border="0" usemap="#group__commandwrappers_ga59e8ee9f53442f2029080ac723ed008f_icgraph" alt=""/></div>
<map name="group__commandwrappers_ga59e8ee9f53442f2029080ac723ed008f_icgraph" id="group__commandwrappers_ga59e8ee9f53442f2029080ac723ed008f_icgraph">
<area shape="rect" id="node3" href="generate_8make_8inc.html#afbe1b490c8c2f78c3ec0634b1903782f" title="_drush_generate_custom\l_project" alt="" coords="235,13,403,59"/><area shape="rect" id="node9" href="archive_8drush_8inc.html#aa7d70b7ae4d41f7e3339ee5713b3a38c" title="drush_archive_dump" alt="" coords="248,91,389,120"/><area shape="rect" id="node11" href="git__drupalorg_8inc.html#a258fb6515d2a1d8f92e54c4278acb4cb" title="drush_pm_git_drupalorg\l_compute_rebuild_version" alt="" coords="232,143,405,190"/><area shape="rect" id="node13" href="git__drupalorg_8inc.html#a24cb40954a8234867336586a498d76b2" title="package_handler_post\l_download" alt="" coords="475,143,627,190"/><area shape="rect" id="node21" href="drush_8inc.html#ad8f8c8d5b65e0d9a863173da63ef78ee" title="drush_tarball_extract" alt="" coords="248,372,389,401"/><area shape="rect" id="node35" href="make_8download_8inc.html#af0b8a0195e141dd3d497d2e663d993fa" title="make_download_git" alt="" coords="251,425,387,455"/><area shape="rect" id="node37" href="git__drupalorg_8inc.html#a5332feb31d03dabd7e99bb9e8f763ce4" title="package_handler_download\l_project" alt="" coords="228,263,409,310"/><area shape="rect" id="node43" href="git__drupalorg_8inc.html#a842ef59d187c73488ad44f832cd8974f" title="package_handler_update\l_project" alt="" coords="236,539,401,586"/><area shape="rect" id="node5" href="generate_8make_8inc.html#aa4ffaa2643ef640c4768f3635bba29a1" title="_drush_make_generate\l_projects" alt="" coords="472,5,629,51"/><area shape="rect" id="node7" href="generate_8make_8inc.html#affbdb849f1d2299740a4ea789ef29bfb" title="drush_make_generate" alt="" coords="700,13,849,43"/><area shape="rect" id="node17" href="classDrushMakeProject.html#ae64371ebab222251d13f492bb1bf7549" title="DrushMakeProject\\process\lGitInfoFiles" alt="" coords="461,74,640,121"/><area shape="rect" id="node15" href="download_8pm_8inc.html#a802dd9a63e5ab3a3a8472d4635d3c662" title="drush_pm_download" alt="" coords="704,183,845,212"/><area shape="rect" id="node19" href="classDrushMakeProject.html#ad59196db4820ff959dd6088fb8293b75" title="DrushMakeProject\\make" alt="" coords="692,83,857,112"/><area shape="rect" id="node23" href="archive_8drush_8inc.html#a3d1644997af6a5792dda2213cae3f4cc" title="drush_archive_restore" alt="" coords="476,472,625,501"/><area shape="rect" id="node25" href="group__hooks.html#ga9e33c8f44999a71f94353d78673294c0" title="drush_hook_pre_pm_enable" alt="" coords="459,525,643,555"/><area shape="rect" id="node27" href="make_8download_8inc.html#a39dc84607968d96b01b9edcda21a8422" title="make_download_file\l_unpack" alt="" coords="481,333,620,379"/><area shape="rect" id="node33" href="wget_8inc.html#a5332feb31d03dabd7e99bb9e8f763ce4" title="package_handler_download\l_project" alt="" coords="460,402,641,449"/><area shape="rect" id="node29" href="make_8download_8inc.html#a9bca6953efd915cc338678422d3e65f4" title="make_download_file" alt="" coords="705,341,844,371"/><area shape="rect" id="node31" href="make_8download_8inc.html#a2aa73a9f71f17d7bdeb88e75489e1344" title="make_download_get" alt="" coords="913,341,1055,371"/><area shape="rect" id="node40" href="wget_8inc.html#ad78396b0bbd545b14effe61f16f880ac" title="package_handler_update\l_project" alt="" coords="468,263,633,310"/><area shape="rect" id="node45" href="updatecode_8pm_8inc.html#a5a3737ff6d07b1666960729bf8e2d684" title="pm_update_project" alt="" coords="485,579,616,608"/><area shape="rect" id="node47" href="updatecode_8pm_8inc.html#a86e03f91bb50878663449ddf74b8658d" title="_pm_update_core" alt="" coords="712,552,837,581"/><area shape="rect" id="node51" href="updatecode_8pm_8inc.html#a604cbac2dc913cf35f3d4f7f79f4bc4b" title="pm_update_packages" alt="" coords="700,605,849,635"/><area shape="rect" id="node49" href="updatecode_8pm_8inc.html#a7075f7486950df7a67f512a3533fef41" title="drush_pm_updatecode" alt="" coords="908,579,1060,608"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="gafd358ceac1286dbdd141ff2b8eb7d556"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">drush_shell_exec </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$cmd</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Executes a shell command. Output is only printed if in verbose mode. Output is stored and can be retrieved using <a class="el" href="group__commandwrappers.html#gadba8c59ba260dd39f615bc22ca78e1af">drush_shell_exec_output()</a>. If in simulation mode, no action is taken.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">$cmd</td><td>The command to execute. May include placeholders used for sprintf. </td></tr>
    <tr><td class="paramname">...</td><td>Values for the placeholders specified in $cmd. Each of these will be passed through escapeshellarg() to ensure they are safe to use on the command line. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>TRUE on success, FALSE on failure </dd></dl>

<p>Definition at line <a class="el" href="exec_8inc_source.html#l00078">78</a> of file <a class="el" href="exec_8inc_source.html">exec.inc</a>.</p>

<p>References <a class="el" href="exec_8inc_source.html#l00124">_drush_shell_exec()</a>.</p>

<p>Referenced by <a class="el" href="drush_8inc_source.html#l00801">_drush_download_file()</a>, <a class="el" href="sync__via__http_8drush_8inc_source.html#l00089">_drush_sync_via_http_download_file()</a>, <a class="el" href="make_8project_8inc_source.html#l00247">DrushMakeProject\applyPatches()</a>, <a class="el" href="archive_8drush_8inc_source.html#l00071">drush_archive_dump()</a>, <a class="el" href="complete_8inc_source.html#l00290">drush_complete_match_file()</a>, <a class="el" href="config_8drush_8inc_source.html#l00322">drush_config_import()</a>, <a class="el" href="notify_8drush_8inc_source.html#l00167">drush_notify_send_audio()</a>, <a class="el" href="notify_8drush_8inc_source.html#l00127">drush_notify_send_text()</a>, <a class="el" href="pm_8drush_8inc_source.html#l01491">drush_pm_include_version_control()</a>, <a class="el" href="drush_8inc_source.html#l00603">drush_prompt()</a>, <a class="el" href="exec_8inc_source.html#l00407">drush_start_browser()</a>, <a class="el" href="xkcd_8drush_8inc_source.html#l00146">drush_xkcd_display()</a>, <a class="el" href="make_8download_8inc_source.html#l00216">make_download_git()</a>, <a class="el" href="make_8utilities_8inc_source.html#l00417">make_tar()</a>, <a class="el" href="git__drupalorg_8inc_source.html#l00047">package_handler_download_project()</a>, <a class="el" href="wget_8inc_source.html#l00011">package_handler_validate()</a>, <a class="el" href="SqlBase_8php_source.html#l00149">Drush\Sql\SqlBase\query()</a>, <a class="el" href="bzr_8inc_source.html#l00040">drush_version_control_bzr\rollback()</a>, and <a class="el" href="svn_8inc_source.html#l00048">drush_version_control_svn\rollback()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group__commandwrappers_gafd358ceac1286dbdd141ff2b8eb7d556_cgraph.png" border="0" usemap="#group__commandwrappers_gafd358ceac1286dbdd141ff2b8eb7d556_cgraph" alt=""/></div>
<map name="group__commandwrappers_gafd358ceac1286dbdd141ff2b8eb7d556_cgraph" id="group__commandwrappers_gafd358ceac1286dbdd141ff2b8eb7d556_cgraph">
<area shape="rect" id="node3" href="group__commandwrappers.html#ga0eed47c4d6d19d386936ad57f34b10b2" title="_drush_shell_exec" alt="" coords="176,196,307,225"/><area shape="rect" id="node5" href="group__commandwrappers.html#gac21dc9409bff5197d255978c3cf6e761" title="_drush_shell_exec_output_set" alt="" coords="356,91,553,120"/><area shape="rect" id="node7" href="group__commandwrappers.html#gafc52f7e769d935b4d2462467cdf8d5ee" title="drush_escapeshellarg" alt="" coords="381,144,528,173"/><area shape="rect" id="node15" href="context_8inc.html#ad25559f8d7d753f636fbeac347c29fc5" title="drush_get_context" alt="" coords="988,245,1116,275"/><area shape="rect" id="node17" href="group__outputfunctions.html#ga63acbb94925d6d2693e235e966bba740" title="drush_print" alt="" coords="637,299,723,328"/><area shape="rect" id="node26" href="group__commandwrappers.html#ga3a1bb3ae751f14749ce1dbe4ec9c3288" title="drush_shell_proc_open" alt="" coords="377,248,532,277"/><area shape="rect" id="node9" href="group__commandwrappers.html#ga561ce790cc15caa5e1f0bfebc2546529" title="_drush_escapeshellarg\l_linux" alt="" coords="603,5,757,51"/><area shape="rect" id="node11" href="group__commandwrappers.html#gac60b4740ceccf95b8e60d1896d93d2ab" title="_drush_escapeshellarg\l_windows" alt="" coords="603,74,757,121"/><area shape="rect" id="node13" href="includes_2environment_8inc.html#a88114295372bcb0ca8dbb5f10b36368e" title="drush_is_windows" alt="" coords="616,144,744,173"/><area shape="rect" id="node19" href="context_8inc.html#afe91fb3e5219ecb2208c3b036b1f0cb8" title="drush_get_option" alt="" coords="807,299,927,328"/><area shape="rect" id="node21" href="context_8inc.html#aee5781894bf828bfa508d9052553f809" title="_drush_get_option" alt="" coords="988,299,1116,328"/><area shape="rect" id="node23" href="context_8inc.html#a9f6272c1a68141ce873c07aae3a316ac" title="drush_context_names" alt="" coords="977,352,1127,381"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group__commandwrappers_gafd358ceac1286dbdd141ff2b8eb7d556_icgraph.png" border="0" usemap="#group__commandwrappers_gafd358ceac1286dbdd141ff2b8eb7d556_icgraph" alt=""/></div>
<map name="group__commandwrappers_gafd358ceac1286dbdd141ff2b8eb7d556_icgraph" id="group__commandwrappers_gafd358ceac1286dbdd141ff2b8eb7d556_icgraph">
<area shape="rect" id="node3" href="drush_8inc.html#a5c2a88712f3905874900166f3b2c397c" title="_drush_download_file" alt="" coords="195,342,341,371"/><area shape="rect" id="node9" href="classDrushMakeProject.html#a86cb2ad32088f11522e027cd7e98c6ce" title="DrushMakeProject\\applyPatches" alt="" coords="875,182,1088,211"/><area shape="rect" id="node15" href="xkcd_8drush_8inc.html#a1639c8faf7d2d4cdc7563792b479cd69" title="drush_xkcd_display" alt="" coords="667,42,803,71"/><area shape="rect" id="node34" href="sync__via__http_8drush_8inc.html#ababb0956fc32b685a05e6ccef8347672" title="_drush_sync_via_http\l_download_file" alt="" coords="193,712,343,759"/><area shape="rect" id="node39" href="archive_8drush_8inc.html#aa7d70b7ae4d41f7e3339ee5713b3a38c" title="drush_archive_dump" alt="" coords="197,782,339,811"/><area shape="rect" id="node41" href="complete_8inc.html#a7d912e55f6aa1d293bcacdd6568eeaf1" title="drush_complete_match_file" alt="" coords="177,835,359,865"/><area shape="rect" id="node45" href="config_8drush_8inc.html#aef4c2b9a90b1297e0e60e741bace5a4e" title="drush_config_import" alt="" coords="199,889,337,918"/><area shape="rect" id="node47" href="notify_8drush_8inc.html#a1cf454258746f8e8a83c5fa9b9a91426" title="drush_notify_send_audio" alt="" coords="185,590,351,619"/><area shape="rect" id="node56" href="notify_8drush_8inc.html#a671bf218a111ec39d0f0fc2919e64daf" title="drush_notify_send_text" alt="" coords="189,537,347,566"/><area shape="rect" id="node59" href="pm_8drush_8inc.html#a7a7640133c515e06c96d0f4262b98c51" title="drush_pm_include_version\l_control" alt="" coords="647,460,823,507"/><area shape="rect" id="node66" href="group__userinput.html#gabbb9a40c8f7e0ba5ec384ccf86305a20" title="drush_prompt" alt="" coords="217,942,319,971"/><area shape="rect" id="node72" href="group__commandwrappers.html#ga53d0f833f21b8a22e0824e8c6bbe2260" title="drush_start_browser" alt="" coords="199,995,337,1025"/><area shape="rect" id="node79" href="make_8download_8inc.html#af0b8a0195e141dd3d497d2e663d993fa" title="make_download_git" alt="" coords="200,1049,336,1078"/><area shape="rect" id="node81" href="make_8utilities_8inc.html#ae5b2297055f24062509236670e55dc2a" title="make_tar" alt="" coords="231,1102,305,1131"/><area shape="rect" id="node85" href="git__drupalorg_8inc.html#a5332feb31d03dabd7e99bb9e8f763ce4" title="package_handler_download\l_project" alt="" coords="177,643,359,689"/><area shape="rect" id="node90" href="wget_8inc.html#ae203b6a2394bb0cae2970befc56eea36" title="package_handler_validate" alt="" coords="183,1155,353,1185"/><area shape="rect" id="node92" href="classDrush_1_1Sql_1_1SqlBase.html#a52e0c44fc5008ba624f54c2f439b0ae5" title="Drush\\Sql\\SqlBase\\query" alt="" coords="184,1221,352,1250"/><area shape="rect" id="node104" href="classdrush__version__control__bzr.html#acabebe722be87098640dcdb5ae2c665f" title="drush_version_control\l_bzr\\rollback" alt="" coords="193,1273,343,1320"/><area shape="rect" id="node106" href="classdrush__version__control__svn.html#a0b1d64855ca50a88b586b067a652cd31" title="drush_version_control\l_svn\\rollback" alt="" coords="193,1343,343,1389"/><area shape="rect" id="node5" href="drush_8inc.html#a9cce12bffedae74c4a45174c59c79311" title="drush_download_file" alt="" coords="432,269,571,298"/><area shape="rect" id="node7" href="make_8download_8inc.html#a6381bf72fa72152dd12f122dbca83d78" title="_make_download_file" alt="" coords="661,269,808,298"/><area shape="rect" id="node13" href="group__hooks.html#ga9e33c8f44999a71f94353d78673294c0" title="drush_hook_pre_pm_enable" alt="" coords="643,215,827,245"/><area shape="rect" id="node19" href="wget_8inc.html#a5332feb31d03dabd7e99bb9e8f763ce4" title="package_handler_download\l_project" alt="" coords="644,321,825,368"/><area shape="rect" id="node21" href="updatexml_8inc.html#a4c90192cc502c7c05a5b4554c7d50258" title="release_info_print\l_releasenotes" alt="" coords="673,391,796,437"/><area shape="rect" id="node32" href="updatexml_8inc.html#a2131dceb4ad05da633f876f3feaa6064" title="updatexml_get_release\l_history_xml" alt="" coords="657,145,812,192"/><area shape="rect" id="node11" href="classDrushMakeProject.html#ad59196db4820ff959dd6088fb8293b75" title="DrushMakeProject\\make" alt="" coords="1137,182,1303,211"/><area shape="rect" id="node17" href="xkcd_8drush_8inc.html#a9996ede595d6a353140c6b22ca2936dd" title="drush_xkcd_fetch" alt="" coords="919,42,1044,71"/><area shape="rect" id="node23" href="updatecode_8pm_8inc.html#a86e03f91bb50878663449ddf74b8658d" title="_pm_update_core" alt="" coords="919,354,1044,383"/><area shape="rect" id="node27" href="download_8pm_8inc.html#a802dd9a63e5ab3a3a8472d4635d3c662" title="drush_pm_download" alt="" coords="911,530,1052,559"/><area shape="rect" id="node29" href="updatecode_8pm_8inc.html#a604cbac2dc913cf35f3d4f7f79f4bc4b" title="pm_update_packages" alt="" coords="907,407,1056,437"/><area shape="rect" id="node25" href="updatecode_8pm_8inc.html#a7075f7486950df7a67f512a3533fef41" title="drush_pm_updatecode" alt="" coords="1144,381,1296,410"/><area shape="rect" id="node36" href="sync__via__http_8drush_8inc.html#af6ab20694d94fb5c16ec975eb0b5aa0d" title="drush_sync_via_http\l_pre_sql_sync" alt="" coords="431,753,572,800"/><area shape="rect" id="node43" href="complete_8inc.html#adbec292adabdfe3772d4ede574ab91c9" title="drush_early_complete" alt="" coords="427,823,576,853"/><area shape="rect" id="node49" href="notify_8drush_8inc.html#a019c8116bcc63e1577cf6b5dec3ec24e" title="drush_notify_send" alt="" coords="437,581,565,610"/><area shape="rect" id="node51" href="notify_8drush_8inc.html#af572d593a2ac7c62058eccf211751d45" title="drush_notify_shutdown\l_error" alt="" coords="657,580,812,627"/><area shape="rect" id="node54" href="notify_8drush_8inc.html#aa3b05a4a16083977b8616c2404a045fc" title="notify_drush_exit" alt="" coords="675,650,795,679"/><area shape="rect" id="node63" href="updatecode_8pm_8inc.html#a72c100c43f73f1c3d0f713227ae736cb" title="drush_pm_updatecode\l_rollback" alt="" coords="905,460,1057,507"/><area shape="rect" id="node68" href="field_8drush_8inc.html#a3e930ec03cf0c5762790d73681f71f8f" title="drush_field_create\l_wizard" alt="" coords="437,929,565,976"/><area shape="rect" id="node70" href="user_8drush_8inc.html#a8efd948edf12d0eb6b083980b3d8257f" title="drush_user_password" alt="" coords="427,877,576,906"/><area shape="rect" id="node74" href="runserver_8drush_8inc.html#a8db8226cf620f67826b59f6091142f60" title="drush_core_runserver" alt="" coords="428,1053,575,1082"/><area shape="rect" id="node76" href="user_8drush_8inc.html#a9e3e0c6e440b7d0b94180025546176b7" title="drush_user_login" alt="" coords="441,999,561,1029"/><area shape="rect" id="node83" href="make_8drush_8inc.html#adb3866751fd19344b00c069793f46322" title="drush_make_post_make" alt="" coords="420,1106,583,1135"/><area shape="rect" id="node88" href="wget_8inc.html#ad78396b0bbd545b14effe61f16f880ac" title="package_handler_update\l_project" alt="" coords="419,633,584,680"/><area shape="rect" id="node94" href="classDrush_1_1Sql_1_1SqlBase.html#ab535d0d2d28dcbae9c83f1f62328a3a5" title="Drush\\Sql\\SqlBase\\createdb" alt="" coords="408,1298,595,1327"/><area shape="rect" id="node96" href="classDrush_1_1Sql_1_1Sqlmysql.html#ada72881fa1ee6a7463c570f129c39890" title="Drush\\Sql\\Sqlmysql\l\\listTables" alt="" coords="432,1351,571,1397"/><area shape="rect" id="node98" href="classDrush_1_1Sql_1_1Sqlpgsql.html#a3ba61916404cdef744d23c08d2e395b6" title="Drush\\Sql\\Sqlpgsql\l\\listTables" alt="" coords="435,1420,568,1467"/><area shape="rect" id="node100" href="classDrush_1_1Sql_1_1Sqlsqlite.html#a62317dd9072f29c1af6a7bdd4ae42673" title="Drush\\Sql\\Sqlsqlite\l\\listTables" alt="" coords="435,1159,568,1205"/><area shape="rect" id="node102" href="classDrush_1_1Sql_1_1Sqlsqlsrv.html#a765255867524cc6404b302f39e04057c" title="Drush\\Sql\\Sqlsqlsrv\l\\listTables" alt="" coords="432,1228,571,1275"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="gad0b72e62d81d339d68dc2d3d36db75d6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">drush_shell_exec_interactive </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$cmd</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Executes a command in interactive mode.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="group__commandwrappers.html#gafd358ceac1286dbdd141ff2b8eb7d556">drush_shell_exec</a>. </dd></dl>

<p>Definition at line <a class="el" href="exec_8inc_source.html#l00102">102</a> of file <a class="el" href="exec_8inc_source.html">exec.inc</a>.</p>

<p>References <a class="el" href="exec_8inc_source.html#l00124">_drush_shell_exec()</a>.</p>

<p>Referenced by <a class="el" href="config_8drush_8inc_source.html#l00403">drush_config_edit()</a>, <a class="el" href="config_8drush_8inc_source.html#l00267">drush_config_export()</a>, <a class="el" href="core_8drush_8inc_source.html#l00662">drush_core_config()</a>, <a class="el" href="runserver_8drush_8inc_source.html#l00061">drush_core_runserver()</a>, and <a class="el" href="output_8inc_source.html#l00668">drush_print_file()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group__commandwrappers_gad0b72e62d81d339d68dc2d3d36db75d6_cgraph.png" border="0" usemap="#group__commandwrappers_gad0b72e62d81d339d68dc2d3d36db75d6_cgraph" alt=""/></div>
<map name="group__commandwrappers_gad0b72e62d81d339d68dc2d3d36db75d6_cgraph" id="group__commandwrappers_gad0b72e62d81d339d68dc2d3d36db75d6_cgraph">
<area shape="rect" id="node3" href="group__commandwrappers.html#ga0eed47c4d6d19d386936ad57f34b10b2" title="_drush_shell_exec" alt="" coords="245,196,376,225"/><area shape="rect" id="node5" href="group__commandwrappers.html#gac21dc9409bff5197d255978c3cf6e761" title="_drush_shell_exec_output_set" alt="" coords="425,91,623,120"/><area shape="rect" id="node7" href="group__commandwrappers.html#gafc52f7e769d935b4d2462467cdf8d5ee" title="drush_escapeshellarg" alt="" coords="451,144,597,173"/><area shape="rect" id="node15" href="context_8inc.html#ad25559f8d7d753f636fbeac347c29fc5" title="drush_get_context" alt="" coords="1057,245,1185,275"/><area shape="rect" id="node17" href="group__outputfunctions.html#ga63acbb94925d6d2693e235e966bba740" title="drush_print" alt="" coords="707,299,792,328"/><area shape="rect" id="node26" href="group__commandwrappers.html#ga3a1bb3ae751f14749ce1dbe4ec9c3288" title="drush_shell_proc_open" alt="" coords="447,248,601,277"/><area shape="rect" id="node9" href="group__commandwrappers.html#ga561ce790cc15caa5e1f0bfebc2546529" title="_drush_escapeshellarg\l_linux" alt="" coords="672,5,827,51"/><area shape="rect" id="node11" href="group__commandwrappers.html#gac60b4740ceccf95b8e60d1896d93d2ab" title="_drush_escapeshellarg\l_windows" alt="" coords="672,74,827,121"/><area shape="rect" id="node13" href="includes_2environment_8inc.html#a88114295372bcb0ca8dbb5f10b36368e" title="drush_is_windows" alt="" coords="685,144,813,173"/><area shape="rect" id="node19" href="context_8inc.html#afe91fb3e5219ecb2208c3b036b1f0cb8" title="drush_get_option" alt="" coords="876,299,996,328"/><area shape="rect" id="node21" href="context_8inc.html#aee5781894bf828bfa508d9052553f809" title="_drush_get_option" alt="" coords="1057,299,1185,328"/><area shape="rect" id="node23" href="context_8inc.html#a9f6272c1a68141ce873c07aae3a316ac" title="drush_context_names" alt="" coords="1047,352,1196,381"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group__commandwrappers_gad0b72e62d81d339d68dc2d3d36db75d6_icgraph.png" border="0" usemap="#group__commandwrappers_gad0b72e62d81d339d68dc2d3d36db75d6_icgraph" alt=""/></div>
<map name="group__commandwrappers_gad0b72e62d81d339d68dc2d3d36db75d6_icgraph" id="group__commandwrappers_gad0b72e62d81d339d68dc2d3d36db75d6_icgraph">
<area shape="rect" id="node3" href="config_8drush_8inc.html#ad72fddd99c71a1a854d36dd81e1a80f1" title="drush_config_edit" alt="" coords="257,5,380,35"/><area shape="rect" id="node5" href="config_8drush_8inc.html#a6258f151a3c27b586409d46f1799a666" title="drush_config_export" alt="" coords="249,59,388,88"/><area shape="rect" id="node7" href="core_8drush_8inc.html#a7f88afe2a5459be981ef1cfa4a60af65" title="drush_core_config" alt="" coords="255,112,383,141"/><area shape="rect" id="node9" href="runserver_8drush_8inc.html#a8db8226cf620f67826b59f6091142f60" title="drush_core_runserver" alt="" coords="245,165,392,195"/><area shape="rect" id="node11" href="group__outputfunctions.html#ga8059aaf93da4ec3f4c5d3821928a9002" title="drush_print_file" alt="" coords="264,219,373,248"/><area shape="rect" id="node13" href="docs_8drush_8inc.html#afd2b4818980db269a5807a6148edcc3a" title="drush_docs_errorcodes" alt="" coords="440,157,597,187"/><area shape="rect" id="node15" href="updatexml_8inc.html#a4c90192cc502c7c05a5b4554c7d50258" title="release_info_print\l_releasenotes" alt="" coords="457,210,580,257"/><area shape="rect" id="node28" href="engines_8inc.html#a434593aa5eee4a2a9e6e51cdca8ccab5" title="drush_engine_topic\l_command" alt="" coords="452,279,585,326"/><area shape="rect" id="node17" href="updatecode_8pm_8inc.html#a86e03f91bb50878663449ddf74b8658d" title="_pm_update_core" alt="" coords="663,139,788,168"/><area shape="rect" id="node21" href="download_8pm_8inc.html#a802dd9a63e5ab3a3a8472d4635d3c662" title="drush_pm_download" alt="" coords="655,192,796,221"/><area shape="rect" id="node23" href="pm_8drush_8inc.html#a1bce10f51c87e2afae2e5e604c7a035f" title="drush_pm_releasenotes" alt="" coords="645,245,805,275"/><area shape="rect" id="node25" href="updatecode_8pm_8inc.html#a604cbac2dc913cf35f3d4f7f79f4bc4b" title="pm_update_packages" alt="" coords="651,299,800,328"/><area shape="rect" id="node19" href="updatecode_8pm_8inc.html#a7075f7486950df7a67f512a3533fef41" title="drush_pm_updatecode" alt="" coords="855,219,1007,248"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="gadba8c59ba260dd39f615bc22ca78e1af"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">drush_shell_exec_output </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Returns the output of the most recent shell command as an array of lines. </p>

<p>Definition at line <a class="el" href="exec_8inc_source.html#l00390">390</a> of file <a class="el" href="exec_8inc_source.html">exec.inc</a>.</p>

<p>References <a class="el" href="exec_8inc_source.html#l00381">_drush_shell_exec_output_set()</a>.</p>

<p>Referenced by <a class="el" href="generate_8make_8inc_source.html#l00164">_drush_generate_custom_project()</a>, <a class="el" href="make_8project_8inc_source.html#l00247">DrushMakeProject\applyPatches()</a>, <a class="el" href="archive_8drush_8inc_source.html#l00071">drush_archive_dump()</a>, <a class="el" href="complete_8inc_source.html#l00290">drush_complete_match_file()</a>, <a class="el" href="config_8drush_8inc_source.html#l00322">drush_config_import()</a>, <a class="el" href="git__drupalorg_8inc_source.html#l00239">drush_pm_git_drupalorg_compute_rebuild_version()</a>, <a class="el" href="sql_8drush_8inc_source.html#l00486">drush_sql_query()</a>, <a class="el" href="drush_8inc_source.html#l00958">drush_tarball_extract()</a>, <a class="el" href="Sqlsqlsrv_8php_source.html#l00036">Drush\Sql\Sqlsqlsrv\listTables()</a>, <a class="el" href="Sqlsqlite_8php_source.html#l00043">Drush\Sql\Sqlsqlite\listTables()</a>, <a class="el" href="Sqlmysql_8php_source.html#l00075">Drush\Sql\Sqlmysql\listTables()</a>, <a class="el" href="Sqlpgsql_8php_source.html#l00085">Drush\Sql\Sqlpgsql\listTables()</a>, <a class="el" href="make_8download_8inc_source.html#l00216">make_download_git()</a>, <a class="el" href="git__drupalorg_8inc_source.html#l00047">package_handler_download_project()</a>, <a class="el" href="git__drupalorg_8inc_source.html#l00181">package_handler_post_download()</a>, <a class="el" href="svn_8inc_source.html#l00013">drush_version_control_svn\pre_update()</a>, <a class="el" href="bzr_8inc_source.html#l00015">drush_version_control_bzr\pre_update()</a>, <a class="el" href="bzr_8inc_source.html#l00040">drush_version_control_bzr\rollback()</a>, and <a class="el" href="svn_8inc_source.html#l00048">drush_version_control_svn\rollback()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group__commandwrappers_gadba8c59ba260dd39f615bc22ca78e1af_cgraph.png" border="0" usemap="#group__commandwrappers_gadba8c59ba260dd39f615bc22ca78e1af_cgraph" alt=""/></div>
<map name="group__commandwrappers_gadba8c59ba260dd39f615bc22ca78e1af_cgraph" id="group__commandwrappers_gadba8c59ba260dd39f615bc22ca78e1af_cgraph">
<area shape="rect" id="node3" href="group__commandwrappers.html#gac21dc9409bff5197d255978c3cf6e761" title="_drush_shell_exec_output_set" alt="" coords="223,5,420,35"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group__commandwrappers_gadba8c59ba260dd39f615bc22ca78e1af_icgraph.png" border="0" usemap="#group__commandwrappers_gadba8c59ba260dd39f615bc22ca78e1af_icgraph" alt=""/></div>
<map name="group__commandwrappers_gadba8c59ba260dd39f615bc22ca78e1af_icgraph" id="group__commandwrappers_gadba8c59ba260dd39f615bc22ca78e1af_icgraph">
<area shape="rect" id="node3" href="generate_8make_8inc.html#afbe1b490c8c2f78c3ec0634b1903782f" title="_drush_generate_custom\l_project" alt="" coords="229,9,397,55"/><area shape="rect" id="node9" href="classDrushMakeProject.html#a86cb2ad32088f11522e027cd7e98c6ce" title="DrushMakeProject\\applyPatches" alt="" coords="453,75,667,104"/><area shape="rect" id="node13" href="archive_8drush_8inc.html#aa7d70b7ae4d41f7e3339ee5713b3a38c" title="drush_archive_dump" alt="" coords="243,327,384,356"/><area shape="rect" id="node15" href="complete_8inc.html#a7d912e55f6aa1d293bcacdd6568eeaf1" title="drush_complete_match_file" alt="" coords="223,380,404,409"/><area shape="rect" id="node19" href="config_8drush_8inc.html#aef4c2b9a90b1297e0e60e741bace5a4e" title="drush_config_import" alt="" coords="244,433,383,463"/><area shape="rect" id="node21" href="git__drupalorg_8inc.html#a258fb6515d2a1d8f92e54c4278acb4cb" title="drush_pm_git_drupalorg\l_compute_rebuild_version" alt="" coords="227,137,400,183"/><area shape="rect" id="node23" href="git__drupalorg_8inc.html#a24cb40954a8234867336586a498d76b2" title="package_handler_post\l_download" alt="" coords="484,197,636,243"/><area shape="rect" id="node30" href="sql_8drush_8inc.html#a05194b55585f4faf2836070d11e55df5" title="drush_sql_query" alt="" coords="255,487,372,516"/><area shape="rect" id="node32" href="drush_8inc.html#ad8f8c8d5b65e0d9a863173da63ef78ee" title="drush_tarball_extract" alt="" coords="243,540,384,569"/><area shape="rect" id="node46" href="classDrush_1_1Sql_1_1Sqlsqlsrv.html#a765255867524cc6404b302f39e04057c" title="Drush\\Sql\\Sqlsqlsrv\l\\listTables" alt="" coords="244,593,383,639"/><area shape="rect" id="node48" href="classDrush_1_1Sql_1_1Sqlsqlite.html#a62317dd9072f29c1af6a7bdd4ae42673" title="Drush\\Sql\\Sqlsqlite\l\\listTables" alt="" coords="247,662,380,709"/><area shape="rect" id="node50" href="classDrush_1_1Sql_1_1Sqlmysql.html#ada72881fa1ee6a7463c570f129c39890" title="Drush\\Sql\\Sqlmysql\l\\listTables" alt="" coords="244,731,383,778"/><area shape="rect" id="node52" href="classDrush_1_1Sql_1_1Sqlpgsql.html#a3ba61916404cdef744d23c08d2e395b6" title="Drush\\Sql\\Sqlpgsql\l\\listTables" alt="" coords="247,801,380,847"/><area shape="rect" id="node54" href="make_8download_8inc.html#af0b8a0195e141dd3d497d2e663d993fa" title="make_download_git" alt="" coords="245,871,381,900"/><area shape="rect" id="node56" href="git__drupalorg_8inc.html#a5332feb31d03dabd7e99bb9e8f763ce4" title="package_handler_download\l_project" alt="" coords="223,257,404,303"/><area shape="rect" id="node62" href="classdrush__version__control__svn.html#aeef018476744822ca225e6e483777126" title="drush_version_control\l_svn\\pre_update" alt="" coords="239,923,388,970"/><area shape="rect" id="node64" href="classdrush__version__control__bzr.html#a29cd27a1cad2d6a67ed4f8c309813688" title="drush_version_control\l_bzr\\pre_update" alt="" coords="239,993,388,1039"/><area shape="rect" id="node66" href="classdrush__version__control__bzr.html#acabebe722be87098640dcdb5ae2c665f" title="drush_version_control\l_bzr\\rollback" alt="" coords="239,1062,388,1109"/><area shape="rect" id="node68" href="classdrush__version__control__svn.html#a0b1d64855ca50a88b586b067a652cd31" title="drush_version_control\l_svn\\rollback" alt="" coords="239,1131,388,1178"/><area shape="rect" id="node5" href="generate_8make_8inc.html#aa4ffaa2643ef640c4768f3635bba29a1" title="_drush_make_generate\l_projects" alt="" coords="481,5,639,51"/><area shape="rect" id="node7" href="generate_8make_8inc.html#affbdb849f1d2299740a4ea789ef29bfb" title="drush_make_generate" alt="" coords="724,13,873,43"/><area shape="rect" id="node11" href="classDrushMakeProject.html#ad59196db4820ff959dd6088fb8293b75" title="DrushMakeProject\\make" alt="" coords="716,105,881,135"/><area shape="rect" id="node17" href="complete_8inc.html#adbec292adabdfe3772d4ede574ab91c9" title="drush_early_complete" alt="" coords="485,387,635,416"/><area shape="rect" id="node27" href="classDrushMakeProject.html#ae64371ebab222251d13f492bb1bf7549" title="DrushMakeProject\\process\lGitInfoFiles" alt="" coords="471,127,649,174"/><area shape="rect" id="node25" href="download_8pm_8inc.html#a802dd9a63e5ab3a3a8472d4635d3c662" title="drush_pm_download" alt="" coords="728,236,869,265"/><area shape="rect" id="node34" href="archive_8drush_8inc.html#a3d1644997af6a5792dda2213cae3f4cc" title="drush_archive_restore" alt="" coords="485,463,635,492"/><area shape="rect" id="node36" href="group__hooks.html#ga9e33c8f44999a71f94353d78673294c0" title="drush_hook_pre_pm_enable" alt="" coords="468,516,652,545"/><area shape="rect" id="node38" href="make_8download_8inc.html#a39dc84607968d96b01b9edcda21a8422" title="make_download_file\l_unpack" alt="" coords="491,569,629,615"/><area shape="rect" id="node44" href="wget_8inc.html#a5332feb31d03dabd7e99bb9e8f763ce4" title="package_handler_download\l_project" alt="" coords="469,638,651,685"/><area shape="rect" id="node40" href="make_8download_8inc.html#a9bca6953efd915cc338678422d3e65f4" title="make_download_file" alt="" coords="729,577,868,607"/><area shape="rect" id="node42" href="make_8download_8inc.html#a2aa73a9f71f17d7bdeb88e75489e1344" title="make_download_get" alt="" coords="931,577,1072,607"/><area shape="rect" id="node59" href="wget_8inc.html#ad78396b0bbd545b14effe61f16f880ac" title="package_handler_update\l_project" alt="" coords="477,317,643,363"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ga20677b9bedd9fe4bd9710d5cf12e5182"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">drush_shell_exec_proc_build_options </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Used by definition of ssh and other commands that call into <a class="el" href="group__commandwrappers.html#ga78a7ff5045fa4fc20c8e24dd2ba8d777">drush_shell_proc_build()</a> to declare their options. </p>

<p>Definition at line <a class="el" href="exec_8inc_source.html#l00246">246</a> of file <a class="el" href="exec_8inc_source.html">exec.inc</a>.</p>

<p>Referenced by <a class="el" href="core_8drush_8inc_source.html#l00059">core_drush_command()</a>.</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group__commandwrappers_ga20677b9bedd9fe4bd9710d5cf12e5182_icgraph.png" border="0" usemap="#group__commandwrappers_ga20677b9bedd9fe4bd9710d5cf12e5182_icgraph" alt=""/></div>
<map name="group__commandwrappers_ga20677b9bedd9fe4bd9710d5cf12e5182_icgraph" id="group__commandwrappers_ga20677b9bedd9fe4bd9710d5cf12e5182_icgraph">
<area shape="rect" id="node3" href="core_8drush_8inc.html#a77d0c92afc27091badfbb0995b1ac19c" title="core_drush_command" alt="" coords="209,13,359,43"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ga78a7ff5045fa4fc20c8e24dd2ba8d777"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">drush_shell_proc_build </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$site</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$command</em> = <code>''</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$cd</em> = <code>NULL</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$interactive</em> = <code>FALSE</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Build an SSH string including an optional fragment of bash. Commands that use this should also merge drush_shell_proc_build_options() into their command options. </p>
<dl class="section see"><dt>See Also</dt><dd>ssh_drush_command().</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramtype">array</td><td class="paramname">$site</td><td>A site alias record. </td></tr>
    <tr><td class="paramtype">string</td><td class="paramname">$command</td><td>An optional bash fragment. </td></tr>
    <tr><td class="paramtype">string</td><td class="paramname">$cd</td><td>An optional directory to change into before executing the $command. Set to boolean TRUE to change into $site['root'] if available. </td></tr>
    <tr><td class="paramtype">boolean</td><td class="paramname">$interactive</td><td>Force creation of a tty </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>string A string suitable for execution with drush_shell_remote_exec(). </dd></dl>

<p>Definition at line <a class="el" href="exec_8inc_source.html#l00185">185</a> of file <a class="el" href="exec_8inc_source.html">exec.inc</a>.</p>

<p>References <a class="el" href="exec_8inc_source.html#l00312">drush_escapeshellarg()</a>, <a class="el" href="context_8inc_source.html#l00405">drush_get_option()</a>, <a class="el" href="exec_8inc_source.html#l00261">drush_os()</a>, <a class="el" href="exec_8inc_source.html#l00281">drush_remote_host()</a>, and <a class="el" href="context_8inc_source.html#l00489">drush_sitealias_get_option()</a>.</p>

<p>Referenced by <a class="el" href="core_8drush_8inc_source.html#l01240">_drush_core_execute_cmd()</a>, and <a class="el" href="ssh_8drush_8inc_source.html#l00035">drush_ssh_site_ssh()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group__commandwrappers_ga78a7ff5045fa4fc20c8e24dd2ba8d777_cgraph.png" border="0" usemap="#group__commandwrappers_ga78a7ff5045fa4fc20c8e24dd2ba8d777_cgraph" alt=""/></div>
<map name="group__commandwrappers_ga78a7ff5045fa4fc20c8e24dd2ba8d777_cgraph" id="group__commandwrappers_ga78a7ff5045fa4fc20c8e24dd2ba8d777_cgraph">
<area shape="rect" id="node3" href="group__commandwrappers.html#gafc52f7e769d935b4d2462467cdf8d5ee" title="drush_escapeshellarg" alt="" coords="391,67,537,96"/><area shape="rect" id="node11" href="context_8inc.html#afe91fb3e5219ecb2208c3b036b1f0cb8" title="drush_get_option" alt="" coords="604,209,724,239"/><area shape="rect" id="node19" href="group__commandwrappers.html#ga1292121e5bdd4bf19ef4f944b16301ed" title="drush_os" alt="" coords="237,261,312,291"/><area shape="rect" id="node22" href="group__commandwrappers.html#gae0975650ba125212c2666e58729f43cf" title="drush_remote_host" alt="" coords="208,107,341,136"/><area shape="rect" id="node25" href="context_8inc.html#add3af7aa09b1ccf49718577a8d7aa61d" title="drush_sitealias_get\l_option" alt="" coords="397,141,531,187"/><area shape="rect" id="node5" href="group__commandwrappers.html#ga561ce790cc15caa5e1f0bfebc2546529" title="_drush_escapeshellarg\l_linux" alt="" coords="587,58,741,105"/><area shape="rect" id="node7" href="group__commandwrappers.html#gac60b4740ceccf95b8e60d1896d93d2ab" title="_drush_escapeshellarg\l_windows" alt="" coords="587,127,741,174"/><area shape="rect" id="node9" href="includes_2environment_8inc.html#a88114295372bcb0ca8dbb5f10b36368e" title="drush_is_windows" alt="" coords="600,5,728,35"/><area shape="rect" id="node13" href="context_8inc.html#aee5781894bf828bfa508d9052553f809" title="_drush_get_option" alt="" coords="801,156,929,185"/><area shape="rect" id="node15" href="context_8inc.html#a9f6272c1a68141ce873c07aae3a316ac" title="drush_context_names" alt="" coords="791,209,940,239"/><area shape="rect" id="node17" href="context_8inc.html#ad25559f8d7d753f636fbeac347c29fc5" title="drush_get_context" alt="" coords="801,263,929,292"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group__commandwrappers_ga78a7ff5045fa4fc20c8e24dd2ba8d777_icgraph.png" border="0" usemap="#group__commandwrappers_ga78a7ff5045fa4fc20c8e24dd2ba8d777_icgraph" alt=""/></div>
<map name="group__commandwrappers_ga78a7ff5045fa4fc20c8e24dd2ba8d777_icgraph" id="group__commandwrappers_ga78a7ff5045fa4fc20c8e24dd2ba8d777_icgraph">
<area shape="rect" id="node3" href="core_8drush_8inc.html#a056266865af8fe0a2178f1b6cd36dea1" title="_drush_core_execute_cmd" alt="" coords="208,5,387,35"/><area shape="rect" id="node7" href="ssh_8drush_8inc.html#a82a89cae3f9cd4bb76b6e9ac5bddb1cc" title="drush_ssh_site_ssh" alt="" coords="228,59,367,88"/><area shape="rect" id="node5" href="core_8drush_8inc.html#a2df55d0bcfe26bcf84f513623345b9d8" title="drush_core_execute" alt="" coords="435,5,573,35"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ga3a1bb3ae751f14749ce1dbe4ec9c3288"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">drush_shell_proc_open </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$cmd</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Execute bash command using proc_open().</p>
<dl class="section return"><dt>Returns</dt><dd>Exit code from launched application 0 no error 1 general error 127 command not found </dd></dl>

<p>Definition at line <a class="el" href="exec_8inc_source.html#l00229">229</a> of file <a class="el" href="exec_8inc_source.html">exec.inc</a>.</p>

<p>References <a class="el" href="context_8inc_source.html#l00328">drush_get_context()</a>, and <a class="el" href="output_8inc_source.html#l00026">drush_print()</a>.</p>

<p>Referenced by <a class="el" href="backend_8inc_source.html#l00984">_drush_backend_invoke()</a>, <a class="el" href="core_8drush_8inc_source.html#l01240">_drush_core_execute_cmd()</a>, <a class="el" href="exec_8inc_source.html#l00124">_drush_shell_exec()</a>, <a class="el" href="core_8drush_8inc_source.html#l01201">drush_core_execute()</a>, and <a class="el" href="ssh_8drush_8inc_source.html#l00035">drush_ssh_site_ssh()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group__commandwrappers_ga3a1bb3ae751f14749ce1dbe4ec9c3288_cgraph.png" border="0" usemap="#group__commandwrappers_ga3a1bb3ae751f14749ce1dbe4ec9c3288_cgraph" alt=""/></div>
<map name="group__commandwrappers_ga3a1bb3ae751f14749ce1dbe4ec9c3288_cgraph" id="group__commandwrappers_ga3a1bb3ae751f14749ce1dbe4ec9c3288_cgraph">
<area shape="rect" id="node3" href="context_8inc.html#ad25559f8d7d753f636fbeac347c29fc5" title="drush_get_context" alt="" coords="527,5,655,35"/><area shape="rect" id="node5" href="group__outputfunctions.html#ga63acbb94925d6d2693e235e966bba740" title="drush_print" alt="" coords="209,59,295,88"/><area shape="rect" id="node7" href="context_8inc.html#afe91fb3e5219ecb2208c3b036b1f0cb8" title="drush_get_option" alt="" coords="345,59,465,88"/><area shape="rect" id="node9" href="context_8inc.html#aee5781894bf828bfa508d9052553f809" title="_drush_get_option" alt="" coords="527,59,655,88"/><area shape="rect" id="node11" href="context_8inc.html#a9f6272c1a68141ce873c07aae3a316ac" title="drush_context_names" alt="" coords="516,112,665,141"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group__commandwrappers_ga3a1bb3ae751f14749ce1dbe4ec9c3288_icgraph.png" border="0" usemap="#group__commandwrappers_ga3a1bb3ae751f14749ce1dbe4ec9c3288_icgraph" alt=""/></div>
<map name="group__commandwrappers_ga3a1bb3ae751f14749ce1dbe4ec9c3288_icgraph" id="group__commandwrappers_ga3a1bb3ae751f14749ce1dbe4ec9c3288_icgraph">
<area shape="rect" id="node3" href="backend_8inc.html#a1d3f3caae7e1300c53e2cc1fe4ffb932" title="_drush_backend_invoke" alt="" coords="216,975,379,1004"/><area shape="rect" id="node44" href="core_8drush_8inc.html#a056266865af8fe0a2178f1b6cd36dea1" title="_drush_core_execute_cmd" alt="" coords="208,1625,387,1655"/><area shape="rect" id="node46" href="core_8drush_8inc.html#a2df55d0bcfe26bcf84f513623345b9d8" title="drush_core_execute" alt="" coords="461,1677,600,1707"/><area shape="rect" id="node48" href="group__commandwrappers.html#ga0eed47c4d6d19d386936ad57f34b10b2" title="_drush_shell_exec" alt="" coords="232,1572,363,1601"/><area shape="rect" id="node103" href="ssh_8drush_8inc.html#a82a89cae3f9cd4bb76b6e9ac5bddb1cc" title="drush_ssh_site_ssh" alt="" coords="228,1729,367,1759"/><area shape="rect" id="node5" href="backend_8inc.html#a7852d5448cd4ee3a2082eccd24d690e7" title="drush_backend_invoke\l_concurrent" alt="" coords="453,421,608,467"/><area shape="rect" id="node7" href="group__dispatching.html#ga125471885af052278a0874446b332cf9" title="drush_invoke_process" alt="" coords="705,376,857,405"/><area shape="rect" id="node42" href="make_8drush_8inc.html#a7f6c382e030da87fc401f133edd22f3b" title="make_projects" alt="" coords="728,429,835,459"/><area shape="rect" id="node9" href="commands_2core_2drupal_2batch_8inc.html#aaf9128a2dbd643871368ffdc18216a76" title="_drush_backend_batch\l_process" alt="" coords="964,658,1119,705"/><area shape="rect" id="node11" href="archive_8drush_8inc.html#aa7d70b7ae4d41f7e3339ee5713b3a38c" title="drush_archive_dump" alt="" coords="971,815,1112,844"/><area shape="rect" id="node13" href="archive_8drush_8inc.html#a3d1644997af6a5792dda2213cae3f4cc" title="drush_archive_restore" alt="" coords="967,5,1116,35"/><area shape="rect" id="node15" href="config_8drush_8inc.html#aef4c2b9a90b1297e0e60e741bace5a4e" title="drush_config_import" alt="" coords="972,728,1111,757"/><area shape="rect" id="node17" href="core_8drush_8inc.html#a90902b3f529eb012f2ae825cd60f00f1" title="drush_core_quick_drupal" alt="" coords="959,59,1124,88"/><area shape="rect" id="node19" href="core_8drush_8inc.html#a496a7a4d064f54c13fc03c1c6e2844f4" title="drush_core_updatedb" alt="" coords="968,112,1115,141"/><area shape="rect" id="node21" href="group__commandprocessing.html#ga2e0ae6f140c9e0f5c301657cebde33d6" title="drush_do_command_redispatch" alt="" coords="939,165,1144,195"/><area shape="rect" id="node23" href="group__commandprocessing.html#gac5fea44d3fe064240192925f864d57a6" title="drush_preflight_command\l_dispatch" alt="" coords="1195,183,1365,230"/><area shape="rect" id="node25" href="group__commandprocessing.html#gaadd12f0ca081399dea1c99984c77e567" title="drush_do_multiple_command" alt="" coords="947,269,1136,299"/><area shape="rect" id="node27" href="docs_8drush_8inc.html#afd2b4818980db269a5807a6148edcc3a" title="drush_docs_errorcodes" alt="" coords="963,1492,1120,1521"/><area shape="rect" id="node29" href="migrate_8d8_8drush_8inc.html#a3197cf2ac638ec4b04a4e05ba0917cb6" title="drush_migrate_manifest" alt="" coords="961,323,1121,352"/><area shape="rect" id="node31" href="pm_8drush_8inc.html#af9a0b321cd245d1e1f3424ae5c9acde9" title="drush_pm_enable_validate" alt="" coords="953,376,1129,405"/><area shape="rect" id="node33" href="pm_8drush_8inc.html#a8e8de4df92563916a09695cd77887a3e" title="drush_pm_post_pm_update" alt="" coords="951,429,1132,459"/><area shape="rect" id="node35" href="pm_8drush_8inc.html#a05bb1cb687b1caa097ad691a4c9a3fc1" title="drush_pm_post_pm_updatecode" alt="" coords="936,483,1147,512"/><area shape="rect" id="node37" href="updatecode_8pm_8inc.html#a7075f7486950df7a67f512a3533fef41" title="drush_pm_updatecode" alt="" coords="965,536,1117,565"/><area shape="rect" id="node40" href="sitealias_8inc.html#a55b71bb6e4dda1cff7e68ef49331ba6d" title="drush_sitealias_add\l_db_settings" alt="" coords="973,589,1109,635"/><area shape="rect" id="node50" href="group__commandwrappers.html#gafd358ceac1286dbdd141ff2b8eb7d556" title="drush_shell_exec" alt="" coords="469,1036,592,1065"/><area shape="rect" id="node90" href="group__commandwrappers.html#gad0b72e62d81d339d68dc2d3d36db75d6" title="drush_shell_exec_interactive" alt="" coords="436,1624,625,1653"/><area shape="rect" id="node52" href="drush_8inc.html#a5c2a88712f3905874900166f3b2c397c" title="_drush_download_file" alt="" coords="708,672,855,701"/><area shape="rect" id="node54" href="sync__via__http_8drush_8inc.html#ababb0956fc32b685a05e6ccef8347672" title="_drush_sync_via_http\l_download_file" alt="" coords="707,725,856,771"/><area shape="rect" id="node56" href="classDrushMakeProject.html#a86cb2ad32088f11522e027cd7e98c6ce" title="DrushMakeProject\\applyPatches" alt="" coords="675,795,888,824"/><area shape="rect" id="node59" href="complete_8inc.html#a7d912e55f6aa1d293bcacdd6568eeaf1" title="drush_complete_match_file" alt="" coords="691,899,872,928"/><area shape="rect" id="node62" href="notify_8drush_8inc.html#a1cf454258746f8e8a83c5fa9b9a91426" title="drush_notify_send_audio" alt="" coords="699,952,864,981"/><area shape="rect" id="node64" href="notify_8drush_8inc.html#a671bf218a111ec39d0f0fc2919e64daf" title="drush_notify_send_text" alt="" coords="703,1005,860,1035"/><area shape="rect" id="node66" href="pm_8drush_8inc.html#a7a7640133c515e06c96d0f4262b98c51" title="drush_pm_include_version\l_control" alt="" coords="693,1058,869,1105"/><area shape="rect" id="node68" href="group__userinput.html#gabbb9a40c8f7e0ba5ec384ccf86305a20" title="drush_prompt" alt="" coords="731,1128,832,1157"/><area shape="rect" id="node70" href="group__commandwrappers.html#ga53d0f833f21b8a22e0824e8c6bbe2260" title="drush_start_browser" alt="" coords="712,1517,851,1547"/><area shape="rect" id="node74" href="xkcd_8drush_8inc.html#a1639c8faf7d2d4cdc7563792b479cd69" title="drush_xkcd_display" alt="" coords="713,1181,849,1211"/><area shape="rect" id="node76" href="make_8download_8inc.html#af0b8a0195e141dd3d497d2e663d993fa" title="make_download_git" alt="" coords="713,1235,849,1264"/><area shape="rect" id="node78" href="make_8utilities_8inc.html#ae5b2297055f24062509236670e55dc2a" title="make_tar" alt="" coords="744,1288,819,1317"/><area shape="rect" id="node80" href="git__drupalorg_8inc.html#a5332feb31d03dabd7e99bb9e8f763ce4" title="package_handler_download\l_project" alt="" coords="691,1341,872,1387"/><area shape="rect" id="node82" href="wget_8inc.html#ae203b6a2394bb0cae2970befc56eea36" title="package_handler_validate" alt="" coords="696,1411,867,1440"/><area shape="rect" id="node84" href="classDrush_1_1Sql_1_1SqlBase.html#a52e0c44fc5008ba624f54c2f439b0ae5" title="Drush\\Sql\\SqlBase\\query" alt="" coords="697,1464,865,1493"/><area shape="rect" id="node86" href="classdrush__version__control__bzr.html#acabebe722be87098640dcdb5ae2c665f" title="drush_version_control\l_bzr\\rollback" alt="" coords="707,482,856,529"/><area shape="rect" id="node88" href="classdrush__version__control__svn.html#a0b1d64855ca50a88b586b067a652cd31" title="drush_version_control\l_svn\\rollback" alt="" coords="707,551,856,598"/><area shape="rect" id="node72" href="runserver_8drush_8inc.html#a8db8226cf620f67826b59f6091142f60" title="drush_core_runserver" alt="" coords="968,1597,1115,1627"/><area shape="rect" id="node92" href="config_8drush_8inc.html#ad72fddd99c71a1a854d36dd81e1a80f1" title="drush_config_edit" alt="" coords="720,1781,843,1811"/><area shape="rect" id="node94" href="config_8drush_8inc.html#a6258f151a3c27b586409d46f1799a666" title="drush_config_export" alt="" coords="712,1624,851,1653"/><area shape="rect" id="node96" href="core_8drush_8inc.html#a7f88afe2a5459be981ef1cfa4a60af65" title="drush_core_config" alt="" coords="717,1677,845,1707"/><area shape="rect" id="node99" href="group__outputfunctions.html#ga8059aaf93da4ec3f4c5d3821928a9002" title="drush_print_file" alt="" coords="727,1571,836,1600"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ga53d0f833f21b8a22e0824e8c6bbe2260"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">drush_start_browser </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$uri</em> = <code>NULL</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$sleep</em> = <code>FALSE</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$port</em> = <code>FALSE</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Starts a background browser/tab for the current site or a specified URL.</p>
<p>Uses a non-blocking proc_open call, so Drush execution will continue.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">$uri</td><td>Optional URI or site path to open in browser. If omitted, or if a site path is specified, the current site home page uri will be prepended if the sites hostname resolves. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>TRUE if browser was opened, FALSE if browser was disabled by the user or a, default browser could not be found. </dd></dl>

<p>Definition at line <a class="el" href="exec_8inc_source.html#l00407">407</a> of file <a class="el" href="exec_8inc_source.html">exec.inc</a>.</p>

<p>References <a class="el" href="includes_2environment_8inc_source.html#l00547">drush_bit_bucket()</a>, <a class="el" href="exec_8inc_source.html#l00312">drush_escapeshellarg()</a>, <a class="el" href="context_8inc_source.html#l00328">drush_get_context()</a>, <a class="el" href="context_8inc_source.html#l00405">drush_get_option()</a>, <a class="el" href="includes_2environment_8inc_source.html#l00539">drush_has_bash()</a>, <a class="el" href="includes_2environment_8inc_source.html#l00530">drush_is_osx()</a>, <a class="el" href="includes_2environment_8inc_source.html#l00501">drush_is_windows()</a>, <a class="el" href="drush_8inc_source.html#l01413">drush_log()</a>, <a class="el" href="exec_8inc_source.html#l00078">drush_shell_exec()</a>, and <a class="el" href="output_8inc_source.html#l00145">dt()</a>.</p>

<p>Referenced by <a class="el" href="runserver_8drush_8inc_source.html#l00061">drush_core_runserver()</a>, and <a class="el" href="user_8drush_8inc_source.html#l00367">drush_user_login()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group__commandwrappers_ga53d0f833f21b8a22e0824e8c6bbe2260_cgraph.png" border="0" usemap="#group__commandwrappers_ga53d0f833f21b8a22e0824e8c6bbe2260_cgraph" alt=""/></div>
<map name="group__commandwrappers_ga53d0f833f21b8a22e0824e8c6bbe2260_cgraph" id="group__commandwrappers_ga53d0f833f21b8a22e0824e8c6bbe2260_cgraph">
<area shape="rect" id="node3" href="includes_2environment_8inc.html#a3615cd67d601c69c9106c5edf3c4d424" title="drush_bit_bucket" alt="" coords="196,84,316,113"/><area shape="rect" id="node5" href="includes_2environment_8inc.html#a87a6fcd104950fb9b0d90e25208bcf79" title="drush_has_bash" alt="" coords="375,45,492,75"/><area shape="rect" id="node9" href="includes_2environment_8inc.html#a88114295372bcb0ca8dbb5f10b36368e" title="drush_is_windows" alt="" coords="831,57,959,87"/><area shape="rect" id="node11" href="group__commandwrappers.html#gafc52f7e769d935b4d2462467cdf8d5ee" title="drush_escapeshellarg" alt="" coords="576,188,723,217"/><area shape="rect" id="node18" href="context_8inc.html#ad25559f8d7d753f636fbeac347c29fc5" title="drush_get_context" alt="" coords="1257,497,1385,527"/><area shape="rect" id="node20" href="context_8inc.html#afe91fb3e5219ecb2208c3b036b1f0cb8" title="drush_get_option" alt="" coords="1059,323,1179,352"/><area shape="rect" id="node28" href="includes_2environment_8inc.html#a33ac5599f8b77efb6e776703dbc21042" title="drush_is_osx" alt="" coords="207,704,305,733"/><area shape="rect" id="node31" href="group__logging.html#gad820f489a93518301794ada4ff7816b6" title="drush_log" alt="" coords="856,653,933,683"/><area shape="rect" id="node37" href="group__commandwrappers.html#gafd358ceac1286dbdd141ff2b8eb7d556" title="drush_shell_exec" alt="" coords="195,305,317,335"/><area shape="rect" id="node52" href="group__outputfunctions.html#ga1218abcb1e27dd3bb412113d1e344d96" title="dt" alt="" coords="237,405,275,435"/><area shape="rect" id="node7" href="includes_2environment_8inc.html#acb6cf64eca1804a5f5ca34cad6e2c66b" title="drush_is_cygwin" alt="" coords="591,5,708,35"/><area shape="rect" id="node13" href="group__commandwrappers.html#ga561ce790cc15caa5e1f0bfebc2546529" title="_drush_escapeshellarg\l_linux" alt="" coords="817,179,972,226"/><area shape="rect" id="node15" href="group__commandwrappers.html#gac60b4740ceccf95b8e60d1896d93d2ab" title="_drush_escapeshellarg\l_windows" alt="" coords="817,110,972,157"/><area shape="rect" id="node22" href="context_8inc.html#aee5781894bf828bfa508d9052553f809" title="_drush_get_option" alt="" coords="1257,296,1385,325"/><area shape="rect" id="node24" href="context_8inc.html#a9f6272c1a68141ce873c07aae3a316ac" title="drush_context_names" alt="" coords="1247,349,1396,379"/><area shape="rect" id="node33" href="backend_8inc.html#a38490210d77373f3d8492caf4e9a3190" title="drush_backend_packet" alt="" coords="1041,653,1196,683"/><area shape="rect" id="node39" href="group__commandwrappers.html#ga0eed47c4d6d19d386936ad57f34b10b2" title="_drush_shell_exec" alt="" coords="368,317,499,347"/><area shape="rect" id="node41" href="group__commandwrappers.html#gac21dc9409bff5197d255978c3cf6e761" title="_drush_shell_exec_output_set" alt="" coords="551,343,748,372"/><area shape="rect" id="node45" href="group__outputfunctions.html#ga63acbb94925d6d2693e235e966bba740" title="drush_print" alt="" coords="852,323,937,352"/><area shape="rect" id="node48" href="group__commandwrappers.html#ga3a1bb3ae751f14749ce1dbe4ec9c3288" title="drush_shell_proc_open" alt="" coords="572,396,727,425"/><area shape="rect" id="node54" href="includes_2drupal_8inc.html#ad2ccab77d4bc8e7355186f26cd328ac0" title="drush_drupal_major\l_version" alt="" coords="367,443,500,490"/><area shape="rect" id="node56" href="includes_2drupal_8inc.html#a203e989fd043d054d774954e2b2dff21" title="drush_drupal_version" alt="" coords="577,500,721,529"/><area shape="rect" id="node58" href="includes_2drupal_8inc.html#aa7ac001ed15d678fa533b54d962eb5bc" title="drush_drupal_load_autoloader" alt="" coords="797,549,992,579"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group__commandwrappers_ga53d0f833f21b8a22e0824e8c6bbe2260_icgraph.png" border="0" usemap="#group__commandwrappers_ga53d0f833f21b8a22e0824e8c6bbe2260_icgraph" alt=""/></div>
<map name="group__commandwrappers_ga53d0f833f21b8a22e0824e8c6bbe2260_icgraph" id="group__commandwrappers_ga53d0f833f21b8a22e0824e8c6bbe2260_icgraph">
<area shape="rect" id="node3" href="runserver_8drush_8inc.html#a8db8226cf620f67826b59f6091142f60" title="drush_core_runserver" alt="" coords="195,5,341,35"/><area shape="rect" id="node5" href="user_8drush_8inc.html#a9e3e0c6e440b7d0b94180025546176b7" title="drush_user_login" alt="" coords="208,59,328,88"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ga05d2e2e3f00d7f104058db507f0837b0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">drush_wrap_with_quotes </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$arg</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Make an attempt to simply wrap the arg with the kind of quote characters it does not already contain. If it contains both kinds, then this function reverts to drush_escapeshellarg. </p>

<p>Definition at line <a class="el" href="exec_8inc_source.html#l00292">292</a> of file <a class="el" href="exec_8inc_source.html">exec.inc</a>.</p>

<p>References <a class="el" href="exec_8inc_source.html#l00312">drush_escapeshellarg()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="group__commandwrappers_ga05d2e2e3f00d7f104058db507f0837b0_cgraph.png" border="0" usemap="#group__commandwrappers_ga05d2e2e3f00d7f104058db507f0837b0_cgraph" alt=""/></div>
<map name="group__commandwrappers_ga05d2e2e3f00d7f104058db507f0837b0_cgraph" id="group__commandwrappers_ga05d2e2e3f00d7f104058db507f0837b0_cgraph">
<area shape="rect" id="node3" href="group__commandwrappers.html#gafc52f7e769d935b4d2462467cdf8d5ee" title="drush_escapeshellarg" alt="" coords="223,83,369,112"/><area shape="rect" id="node5" href="group__commandwrappers.html#ga561ce790cc15caa5e1f0bfebc2546529" title="_drush_escapeshellarg\l_linux" alt="" coords="419,5,573,51"/><area shape="rect" id="node7" href="group__commandwrappers.html#gac60b4740ceccf95b8e60d1896d93d2ab" title="_drush_escapeshellarg\l_windows" alt="" coords="419,74,573,121"/><area shape="rect" id="node9" href="includes_2environment_8inc.html#a88114295372bcb0ca8dbb5f10b36368e" title="drush_is_windows" alt="" coords="432,144,560,173"/></map>
</div>
</p>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Oct 8 2014 09:05:00 for Drush by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.1.2
</small></address>
</body>
</html>