func internal/execabs.Command
5 uses
internal/execabs (current package)
execabs.go#L66: func Command(name string, arg ...string) *exec.Cmd {
internal/goroot
gc.go#L53: allDirs, err := exec.Command(bin, "-print-search-dirs").Output()
gc.go#L57: versionB, err := exec.Command(bin, "-dumpversion").Output()
gc.go#L62: machineB, err := exec.Command(bin, "-dumpmachine").Output()
go/build
build.go#L1168: cmd := exec.Command("go", "list", "-e", "-compiler="+ctxt.Compiler, "-tags="+strings.Join(ctxt.BuildTags, ","), "-installsuffix="+ctxt.InstallSuffix, "-f={{.Dir}}\n{{.ImportPath}}\n{{.Root}}\n{{.Goroot}}\n{{if .Error}}{{.Error}}{{end}}\n", "--", path)