src/Ko/Process.php
public function run()
    {
        $signalHandler = $this->getSignalHandler();
        $signalHandler->registerHandler(SIGTERM, function () {
            $this->shouldShutdown = true;
        });

        $this->sharedMemory[self::STARTED_MARKER] = true;

        /** @var callable $callable */
        $callable = $this->callable;
        $callable($this);
    }
public function run()
    {
        $signalHandler = $this->getSignalHandler();
        $signalHandler->registerHandler(SIGTERM, function () {
            $this->shouldShutdown = true;
        });

        $this->sharedMemory[self::STARTED_MARKER] = true;

        /** @var callable $callable */
        $callable = $this->callable;
        $callable($this);
    }
Execute callable.