protected function createProcessBuilder(array $arguments = [], $timeout = null): ProcessBuilder
    {
        $pb = new ProcessBuilder($arguments);

        if (null !== $timeout) {
            $pb->setTimeout($timeout);
        }

        return $pb;
    }