- **always** do `Exec()` even thougth file not exists ## env ```bash go version go1.18.5 linux/amd64 ``` - go.mod ```bash module example go 1.18 require ( github.com/bitfield/script v0.21.1 ) ``` ## example code ```golang package main import "github.com/bitfield/script" func main() { script.IfExists("not_exists_file").Exec("echo 'hello world'").Stdout() } ``` - output ```bash $ ls ex.go $ go run ex.go hello world ```