diff --git a/exec.go b/exec.go index 587d91a..53bf5d4 100644 --- a/exec.go +++ b/exec.go @@ -39,7 +39,7 @@ func Exec(c ExecCommand, fn ExecCallback) Cmd { // c := exec.Command("vim", "file.txt") // // cmd := ExecProcess(c, func(err error) Msg { -// return VimFinishedMsg{err: error} +// return VimFinishedMsg{err: err} // }) // // Or, if you don't care about errors, you could simply: