diff --git a/util/system/path.go b/util/system/path.go index cdfff68007f5f..47160034c47ce 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" {