github.com/mattn/anko@v0.1.10/packages/os.exec.go (about)

     1  package packages
     2  
     3  import (
     4  	"os/exec"
     5  	"reflect"
     6  
     7  	"github.com/mattn/anko/env"
     8  )
     9  
    10  func init() {
    11  	env.Packages["os/exec"] = map[string]reflect.Value{
    12  		"ErrNotFound": reflect.ValueOf(exec.ErrNotFound),
    13  		"LookPath":    reflect.ValueOf(exec.LookPath),
    14  		"Command":     reflect.ValueOf(exec.Command),
    15  	}
    16  }