Workaround for PowerShell escape code issue after using git in the same window

I don't have any idea why the bug happens. Starting the server in a child PowerShell process resolves the issue.
This commit is contained in:
Dylan K. Taylor 2017-05-26 13:46:34 +01:00
parent ca6826898b
commit 3446f68c74

View File

@ -20,7 +20,7 @@ if(Test-Path "PocketMine-MP.phar"){
}
function StartServer{
$command = $binary + " " + $file + " --enable-ansi"
$command = "powershell " + $binary + " " + $file + " --enable-ansi"
iex $command
}