We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9c8ba08 commit c03bbf5Copy full SHA for c03bbf5
1 file changed
tests/spec/ReferenceTest.php
@@ -274,7 +274,7 @@ public function testResolveFileHttp()
274
// $file = 'https://raw.githubusercontent.com/cebe/php-openapi/290389bbd337cf4d70ecedfd3a3d886715e19552/tests/spec/data/reference/base.yaml';
275
276
if (stripos(PHP_OS_FAMILY, 'Windows') !== false) {
277
- exec('start php -S localhost:8787', $op);
+ exec('pwsh -Command "Start-Process php -ArgumentList \'-S localhost:8787\' -NoNewWindow"', $op);
278
} else {
279
exec('nohup php -S localhost:8787 > /dev/null 2>&1 &', $op);
280
}
0 commit comments