We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c03bbf5 commit 1697befCopy full SHA for 1697bef
tests/spec/ReferenceTest.php
@@ -274,7 +274,10 @@ 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('pwsh -Command "Start-Process php -ArgumentList \'-S localhost:8787\' -NoNewWindow"', $op);
+// exec('pwsh -Command "Start-Process php -ArgumentList \'-S localhost:8787\' -NoNewWindow"', $op);
278
+ $cmd = 'powershell -Command "Start-Process php -ArgumentList \'-S localhost:8787\' -NoNewWindow"';
279
+ popen($cmd, "r");
280
+
281
} else {
282
exec('nohup php -S localhost:8787 > /dev/null 2>&1 &', $op);
283
}
0 commit comments