type os/exec.Cmd
32 uses
os/exec (current package)
exec.go#L57: type Cmd struct {
exec.go#L169: func Command(name string, arg ...string) *Cmd {
exec.go#L170: cmd := &Cmd{
exec.go#L189: func CommandContext(ctx context.Context, name string, arg ...string) *Cmd {
exec.go#L202: func (c *Cmd) String() string {
exec.go#L226: func (c *Cmd) envv() ([]string, error) {
exec.go#L233: func (c *Cmd) argv() []string {
exec.go#L244: func (c *Cmd) stdin() (f *os.File, err error) {
exec.go#L278: func (c *Cmd) stdout() (f *os.File, err error) {
exec.go#L282: func (c *Cmd) stderr() (f *os.File, err error) {
exec.go#L289: func (c *Cmd) writerDescriptor(w io.Writer) (f *os.File, err error) {
exec.go#L318: func (c *Cmd) closeDescriptors(closers []io.Closer) {
exec.go#L337: func (c *Cmd) Run() error {
exec.go#L376: func (c *Cmd) Start() error {
exec.go#L405: type F func(*Cmd) (*os.File, error)
exec.go#L406: for _, setupFd := range []F{(*Cmd).stdin, (*Cmd).stdout, (*Cmd).stderr} {
exec.go#L498: func (c *Cmd) Wait() error {
exec.go#L534: func (c *Cmd) Output() ([]byte, error) {
exec.go#L557: func (c *Cmd) CombinedOutput() ([]byte, error) {
exec.go#L577: func (c *Cmd) StdinPipe() (io.WriteCloser, error) {
exec.go#L619: func (c *Cmd) StdoutPipe() (io.ReadCloser, error) {
exec.go#L644: func (c *Cmd) StderrPipe() (io.ReadCloser, error) {
golang.org/x/sys/execabs
execabs.go#L31: type Cmd = exec.Cmd
execabs.go#L65: func fixCmd(name string, cmd *exec.Cmd) {
execabs.go#L83: func CommandContext(ctx context.Context, name string, arg ...string) *exec.Cmd {
execabs.go#L98: func Command(name string, arg ...string) *exec.Cmd {
internal/execabs
execabs.go#L25: Cmd = exec.Cmd
execabs.go#L45: func fixCmd(name string, cmd *exec.Cmd) {
execabs.go#L59: func CommandContext(ctx context.Context, name string, arg ...string) *exec.Cmd {
execabs.go#L66: func Command(name string, arg ...string) *exec.Cmd {