func os/exec.Command
21 uses
os/exec (current package)
exec.go#L398: func Command(name string, arg ...string) *Cmd {
exec.go#L482: cmd := Command(name, arg...)
go.pact.im/x/goupdate
download.go#L30: c := exec.Command("go", append([]string{"mod", "download", "-json"}, upgrades...)...)
modules.go#L17: c := exec.Command("go", "mod", "edit", "-go", goVersion)
modules.go#L26: c := exec.Command("go", "mod", "edit", "-json")
tests.go#L57: c := exec.Command("go", args...)
upgrade.go#L117: c := exec.Command("go", args...)
workspaces.go#L50: c := exec.Command("go", "work", "edit", "-json")
workspaces.go#L79: c := exec.Command("go", "mod", "tidy")
workspaces.go#L97: c := exec.Command("go", "work", "sync")
workspaces.go#L106: c := exec.Command("go", append([]string{"env", "-json", "--"}, vars...)...)
go.pact.im/x/zapjournal/tests
journalctl.go#L31: c := exec.Command("journalctl",
go/build
build.go#L1234: cmd := exec.Command(goCmd, "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)
golang.org/x/tools/go/gcexportdata
gcexportdata.go#L90: cmd := exec.Command("go", "list", "-json", "-export", "--", importPath)
golang.org/x/tools/internal/gcimporter
exportdata.go#L395: cmd := exec.Command(filepath.Join(build.Default.GOROOT, "bin", "go"), "list", "-export", "-f", "{{.Export}}", pkgDir)
golang.org/x/tools/internal/gocommand
invoke.go#L248: cmd := exec.Command("go", goArgs...)
invoke.go#L439: psCmd := exec.Command("ps", "axo", "ppid,pid,command")
invoke.go#L453: listFilesCmd := exec.Command(listFiles)
internal/goroot
gc.go#L61: allDirs, err := exec.Command(bin, "-print-search-dirs").Output()
gc.go#L65: versionB, err := exec.Command(bin, "-dumpversion").Output()
gc.go#L70: machineB, err := exec.Command(bin, "-dumpmachine").Output()