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 d5c690a commit b91e163Copy full SHA for b91e163
tests/spec/ReferenceTest.php
@@ -238,7 +238,7 @@ public function testResolveFileHttp()
238
// $file = 'https://raw.githubusercontent.com/cebe/php-openapi/290389bbd337cf4d70ecedfd3a3d886715e19552/tests/spec/data/reference/base.yaml';
239
if (stripos(PHP_OS_FAMILY, 'Windows') !== false) {
240
// $cmd = 'powershell -Command "Start-Process php -ArgumentList \'-S '.$host.'\' -NoNewWindow -RedirectStandardOutput \'NUL\'"';
241
- $cmd = 'powershell -Command "php -S localhost:8787 *> NUL 2>&1 &"';
+ $cmd = 'powershell -Command "Start-Job { php -S localhost:8787 *> NUL: 2>&1 }"';
242
$res = popen($cmd, "r");
243
} else {
244
exec('nohup php -S '.$host.' > /dev/null 2>&1 &');
0 commit comments