diff --git a/util/system/path.go b/util/system/path.go index 422651ecea5c..be6d9db0e9b5 100644 --- a/util/system/path.go +++ b/util/system/path.go @@ -13,10 +13,8 @@ import ( // ':' character . const DefaultPathEnvUnix = "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" -// DefaultPathEnvWindows is windows style list of directories to search for -// executables. Each directory is separated from the next by a colon -// ';' character . -const DefaultPathEnvWindows = "c:\\Windows\\System32;c:\\Windows" +// DefaultPathEnvWindows is empty to allow windows to set the PATH when it runs +const DefaultPathEnvWindows = "" func DefaultPathEnv(os string) string { if os == "windows" {