Home | History | Annotate | Download | only in os

Lines Matching full:process

9 // FindProcess looks for a running process by its pid.
10 // The Process it returns can be used to obtain information
11 // about the underlying operating system process.
12 func FindProcess(pid int) (p *Process, err error) {
16 // StartProcess starts a new process with the program, arguments and attributes
23 func StartProcess(name string, argv []string, attr *ProcAttr) (*Process, error) {
27 // Release releases any resources associated with the Process p,
30 func (p *Process) Release() error {
34 // Kill causes the Process to exit immediately.
35 func (p *Process) Kill() error {
39 // Wait waits for the Process to exit, and then returns a
41 // Wait releases any resources associated with the Process.
42 // On most operating systems, the Process must be a child
43 // of the current process or an error will be returned.
44 func (p *Process) Wait() (*ProcessState, error) {
48 // Signal sends a signal to the Process.
50 func (p *Process) Signal(sig Signal) error {
54 // UserTime returns the user CPU time of the exited process and its children.
59 // SystemTime returns the system CPU time of the exited process and its children.
76 // the process. Convert it to the appropriate underlying
83 // the exited process. Convert it to the appropriate underlying