public function Process::setEnhanceSigchildCompatibility in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/process/Process.php \Symfony\Component\Process\Process::setEnhanceSigchildCompatibility()
Activates sigchild compatibility mode.
Sigchild compatibility mode is required to get the exit code and determine the success of a process when PHP has been compiled with the --enable-sigchild option
Parameters
bool $enhance:
Return value
self The current Process instance
File
- vendor/
symfony/ process/ Process.php, line 1180
Class
- Process
- Process is a thin wrapper around proc_* functions to easily start independent PHP processes.
Namespace
Symfony\Component\ProcessCode
public function setEnhanceSigchildCompatibility($enhance) {
$this->enhanceSigchildCompatibility = (bool) $enhance;
return $this;
}