Mercurial > hg > isophonics-drupal-site
comparison vendor/psy/psysh/src/Configuration.php @ 16:c2387f117808
Routine composer update
author | Chris Cannam |
---|---|
date | Tue, 10 Jul 2018 15:07:59 +0100 |
parents | 5fb285c0d0e3 |
children | 129ea1e6d783 |
comparison
equal
deleted
inserted
replaced
15:e200cb7efeb3 | 16:c2387f117808 |
---|---|
878 */ | 878 */ |
879 public function getPager() | 879 public function getPager() |
880 { | 880 { |
881 if (!isset($this->pager) && $this->usePcntl()) { | 881 if (!isset($this->pager) && $this->usePcntl()) { |
882 if ($pager = ini_get('cli.pager')) { | 882 if ($pager = ini_get('cli.pager')) { |
883 // use the default pager (5.4+) | 883 // use the default pager |
884 $this->pager = $pager; | 884 $this->pager = $pager; |
885 } elseif ($less = exec('which less 2>/dev/null')) { | 885 } elseif ($less = exec('which less 2>/dev/null')) { |
886 // check for the presence of less... | 886 // check for the presence of less... |
887 $this->pager = $less . ' -R -S -F -X'; | 887 $this->pager = $less . ' -R -S -F -X'; |
888 } | 888 } |