protected function startupWorker($pool) : void
    {
        $workerId = $this->getId();
        $baseCmd = 'php %s --config %s --pool %s --name %s';
        $launcherPath = __DIR__ . '/cli/worker.php';
        $startupCmd = sprintf(
            $baseCmd,
            $launcherPath,
            $this->getConfigPath(),
            $pool,
            $workerId
        );

        exec(escapeshellcmd($startupCmd) . ' >> ' . $this->logPath.'/'.$pool.'.log 2>&1 &');
        $this->reloadPids();
    }