os

package
Version: v1.18.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 8, 2019 License: Apache-2.0 Imports: 6 Imported by: 3

Documentation

Overview

Package os runs processes locally

Package os runs processes locally

Index

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL