24 use Psr\Log\LoggerAwareTrait;
25 use Psr\Log\NullLogger;
66 if ( PHP_OS ===
'Linux' && $this->
findFirejail() !==
false ) {
67 $this->restrictionMethod =
'firejail';
69 $this->restrictionMethod =
false;
74 $this->setLogger(
new NullLogger() );
78 if ( $this->firejail ===
null ) {
92 $this->doLogStderr = $yesno;
101 if ( $this->restrictionMethod ===
'firejail' ) {
107 $command->setLogger( $this->logger );
110 ->limits( $this->limits )
111 ->cgroup( $this->cgroup )
112 ->logStderr( $this->doLogStderr );