File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -237,7 +237,7 @@ public function testResolveFileHttp()
237237 $ host = 'localhost:8787 ' ; # create mock web server to avoid calling real GitHub URL and rate limit hit
238238 // $file = 'https://raw.githubusercontent.com/cebe/php-openapi/290389bbd337cf4d70ecedfd3a3d886715e19552/tests/spec/data/reference/base.yaml';
239239 if (stripos (PHP_OS_FAMILY , 'Windows ' ) !== false ) {
240- $ cmd = 'powershell -Command "Start-Process php -ArgumentList \'-S ' .$ host .'\' -NoNewWindow -RedirectStandardOutput $null " ' ;
240+ $ cmd = 'powershell -Command "Start-Process php -ArgumentList \'-S ' .$ host .'\' -NoNewWindow -RedirectStandardOutput \' NUL \' " ' ;
241241 $ res = popen ($ cmd , "r " );
242242 } else {
243243 exec ('nohup php -S ' .$ host .' > /dev/null 2>&1 & ' );
You can’t perform that action at this time.
0 commit comments