Altax\Module\Task\Process\Executor::killAllChildren PHP Method

killAllChildren() public method

public killAllChildren ( )
    public function killAllChildren()
    {
        foreach ($this->childPids as $pid => $host) {
            $this->runtimeTask->getOutput()->writeln("<fg=red>Sending sigint to child (pid:</fg=red><comment>{$pid}</comment><fg=red>)</fg=red>");
            $this->killProcess($pid);
        }
    }