public function Process::setTty

Enables or disables the TTY mode.

Parameters

boolean $tty True to enabled and false to disable:

Return value

self The current Process instance

File

drupal/core/vendor/symfony/process/Symfony/Component/Process/Process.php, line 884

Class

Process
Process is a thin wrapper around proc_* functions to ease start independent PHP processes.

Namespace

Symfony\Component\Process

Code

public function setTty($tty) {
  $this->tty = (bool) $tty;
  return $this;
}