Lines Matching refs:tty
74 private $tty = false;
121 149 => 'Background process attempting to read from tty ("in")',
122 150 => 'Background process attempting to write to tty ("out")',
363 if ($this->tty) {
1056 public function setTty(bool $tty)
1058 if ('\\' === \DIRECTORY_SEPARATOR && $tty) {
1062 if ($tty && !self::isTtySupported()) {
1063 throw new RuntimeException('TTY mode requires /dev/tty to be read/writable.');
1066 $this->tty = $tty;
1078 return $this->tty;
1260 $isTtySupported = (bool) @proc_open('echo 1 >/dev/null', [['file', '/dev/tty', 'r'], ['file', '/dev/tty', 'w'], ['file', '/dev/tty', 'w']], $pipes);