Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Kill ¶
Kill a process (using SIGKILL).
@callable: process.Kill @param: proc @Process @retval: err @Error
@usage: err = process.Kill(proc)
Types ¶
type Process ¶
type Process struct { Pid int32 PPid int32 Name string User string Status string CmdLine string Exe string TTY string }
Process provides a concurrency-safe wrapper for a Process that implements a starlark.Value.
func ParseParam ¶
ParseParam from starlark input
func (Process) Freeze ¶
func (p Process) Freeze()
Freeze is a no-op since the underlying process is safe for concurrent use.
Click to show internal directories.
Click to hide internal directories.