Lines Matching defs:options
76 private $options = ['suppress_errors' => true, 'bypass_shell' => true];
215 if ($this->options['create_new_console'] ?? false) {
352 $this->process = @proc_open($commandline, $descriptors, $this->processPipes->pipes, $this->cwd, $envPairs, $this->options);
1227 * Defines options to pass to the underlying proc_open().
1229 * @see https://php.net/proc_open for the options supported by PHP.
1234 public function setOptions(array $options)
1237 throw new RuntimeException('Setting options while the process is running is not possible.');
1240 $defaultOptions = $this->options;
1243 foreach ($options as $key => $value) {
1245 $this->options = $defaultOptions;
1246 throw new LogicException(sprintf('Invalid option "%s" passed to "%s()". Supported options are "%s".', $key, __METHOD__, implode('", "', $existingOptions)));
1248 $this->options[$key] = $value;