ScriptFUSIONTest\Functional\Porter\Net\Http\HttpConnectorTest::startServer PHP Method

startServer() private method

private startServer ( string $script ) : Process
$script string
return Symfony\Component\Process\Process Server.
    private function startServer($script)
    {
        $server = (new Process(sprintf('%sphp -S %s %s.php', file_exists('/bin/sh') ? 'exec ' : '', self::HOST, $script)))->setWorkingDirectory(self::$dir);
        $server->start();
        return $server;
    }