go/src/os/exec_posix.go

var Interrupt

var Kill

func startProcess(name string, argv []string, attr *ProcAttr) (p *Process, err error) {}

func (p *Process) kill() error {}

type ProcessState

// Pid returns the process id of the exited process.
func (p *ProcessState) Pid() int {}

func (p *ProcessState) exited() bool {}

func (p *ProcessState) success() bool {}

func (p *ProcessState) sys() any {}

func (p *ProcessState) sysUsage() any {}

func (p *ProcessState) String() string {}

// ExitCode returns the exit code of the exited process, or -1
// if the process hasn't exited or was terminated by a signal.
func (p *ProcessState) ExitCode() int {}