function drush_print_pipe

8.0.x drush_print_pipe($message = '')
6.x drush_print_pipe($message = '')
7.x drush_print_pipe($message = '')
3.x drush_print_pipe($message = '')
4.x drush_print_pipe($message = '')
5.x drush_print_pipe($message = '')
master drush_print_pipe($message = '')

Stores a message which is printed during drush_shutdown() if in compact mode.


$message: The message to print. If $message is an array, then each element of the array is printed on a separate line.

Related topics

15 calls to drush_print_pipe()
drush_archive_dump in commands/core/
Command callback. Generate site archive file.
drush_choice in includes/
Ask the user to select an item from a list. From a provided associative array, drush_choice will display all of the questions, numbered from 1 to N, and return the item the user selected. "0" is always cancel; entering a blank line is also…
drush_core_cli in commands/core/
drush_core_help in commands/core/
Command callback for help command. This is the default command, when none other has been specified.
drush_core_search_status in commands/core/

... See full list


includes/, line 608
The drush API implementation and helpers.


function drush_print_pipe($message = '') {
  $buffer = &drush_get_context('DRUSH_PIPE_BUFFER', '');
  if (is_array($message)) {
    $message = implode("\n", $message) . "\n";
  $buffer .= $message;