diff --git a/pkg/config/config.go b/pkg/config/config.go index f4b7527c..11fcb147 100644 --- a/pkg/config/config.go +++ b/pkg/config/config.go @@ -5,12 +5,13 @@ import ( "fmt" "io/ioutil" "os" - "os/exec" "path/filepath" "runtime" "strings" "time" + exec "golang.org/x/sys/execabs" + "github.com/BurntSushi/toml" "github.com/mitchellh/go-homedir" log "github.com/sirupsen/logrus" diff --git a/pkg/open/open.go b/pkg/open/open.go index e1e70659..9f3ce123 100644 --- a/pkg/open/open.go +++ b/pkg/open/open.go @@ -2,8 +2,9 @@ package open import ( "fmt" - "os/exec" "runtime" + + exec "golang.org/x/sys/execabs" ) var execCommand = exec.Command