From 2a09aaf4568cf8f6449a82a7e23fae2ab9975b1a Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Tue, 27 Feb 2018 09:54:29 +0000 Subject: [PATCH] start.ps1: use -NoProfile for starting child The child powershell is a workaround for an unidentified bug which causes colours to get messed up after using git in the same console window. However, loading profiles on the child is a major slowdown when starting the server, and for no good reason. --- start.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/start.ps1 b/start.ps1 index 37b530e7f..b7e86f0b7 100644 --- a/start.ps1 +++ b/start.ps1 @@ -28,7 +28,7 @@ if($file -eq ""){ } function StartServer{ - $command = "powershell " + $binary + " " + $file + " " + $extraPocketMineArgs + $command = "powershell -NoProfile " + $binary + " " + $file + " " + $extraPocketMineArgs iex $command }