Documentation ¶ Rendered for linux/amd64 windows/amd64 darwin/amd64 js/wasm Overview ¶ Package os runs processes locally Package os runs processes locally Index ¶ func NewProcess(opts ...process.Option) process.Process type Process func (p *Process) Exec(exe *process.Executable) error func (p *Process) Fork(exe *process.Executable) (*process.PID, error) func (p *Process) Kill(pid *process.PID) error func (p *Process) Wait(pid *process.PID) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewProcess ¶ func NewProcess(opts ...process.Option) process.Process Types ¶ type Process ¶ type Process struct{} func (*Process) Exec ¶ func (p *Process) Exec(exe *process.Executable) error func (*Process) Fork ¶ func (p *Process) Fork(exe *process.Executable) (*process.PID, error) func (*Process) Kill ¶ func (p *Process) Kill(pid *process.PID) error func (*Process) Wait ¶ func (p *Process) Wait(pid *process.PID) error Source Files ¶ View all Source files os.go process.go Click to show internal directories. Click to hide internal directories.