diff --git a/src/environment.go b/src/environment.go index 8d828544..81480cee 100644 --- a/src/environment.go +++ b/src/environment.go @@ -270,9 +270,6 @@ func (env *environment) getRuntimeGOOS() string { } func (env *environment) runCommand(command string, args ...string) (string, error) { - if env.getRuntimeGOOS() == windowsPlatform && !strings.HasSuffix(command, ".exe") { - command += ".exe" - } defer env.trace(time.Now(), "runCommand", append([]string{command}, args...)...) if cmd, ok := env.cmdCache.get(command); ok { command = cmd