lizongshen / gocommand

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gocommand

package main

import (
	"github.com/lizongshen/gocommand"
	"log"
)

func main() {
	_, out, err := gocommand.NewCommand().Exec("ls /")
	if err != nil {
		log.Panic(err)
	}

	log.Println(out)
}

About

License:MIT License


Languages

Language:Go 100.0%