pid

package
v0.0.0-...-5b8b77a Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2021 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RunningVMMPID

type RunningVMMPID struct {
	Pid int `json:"Pid"`
}

RunningVMMPID represents a running VMM pid information.

func (*RunningVMMPID) IsRunning

func (p *RunningVMMPID) IsRunning() (bool, error)

IsRunning checks if the process identified by the PID is still running.

func (*RunningVMMPID) Wait

func (p *RunningVMMPID) Wait(ctx context.Context) error

Wait waits for the process represented by this PID to exit.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL