shell/example2/main.go

12 lines
189 B
Go

package main
import "log"
// import "fmt"
import "go.wit.com/shell"
func main() {
err := shell.Run("cat /etc/issue")
log.Println("cat /etc/issue returned", err)
// fmt.Print(output)
}