diff --git a/cmd/godotenv/cmd.go b/cmd/godotenv/cmd.go index 3eed1ce..bac3276 100644 --- a/cmd/godotenv/cmd.go +++ b/cmd/godotenv/cmd.go @@ -60,11 +60,7 @@ example command.Stderr = os.Stderr signal.Ignore(os.Interrupt) - if err := command.Start(); err != nil { - log.Fatal(err) - } - - if err := command.Wait(); err != nil { + if err := command.Run(); err != nil { log.Fatal(err) } }