Linuxだと & でコマンドをバックグラウンドで実行する事ができますが、Windowsだとどうすりゃいいのか調べました Linuxの場合 PHPのビルトインサーバーをバックグラウンドで動かしたいときはこう書きます ~~~ php -S localhost:8000 -t /path/to/public_html/ & ~~~ Windowsの場合 これと同等のコマンドをPowerShellではこう書けばいいようです ~~~ start-process -FilePath php -ArgumentList “-S localhost:8000 -t C:\path\to\public_html” -WindowStyle hidden ~~~ ちなみに、AppVeyorだとこういう書き方で動きました appveyor.yml ~~~ – ps: start-process -FilePa
![Windows PowerShell で Linuxでの & を実現する](https://cdn-ak-scissors.b.st-hatena.com/image/square/9b76248e844c220ada2ab21076fc63bf8b53ffde/height=288;version=1;width=512/https%3A%2F%2Fi0.wp.com%2Fnob-log.info%2Fwp-content%2Fuploads%2F2014%2F08%2Flogo-powershell1.png%3Ffit%3D300%252C300%26ssl%3D1)