ashproc

package
v0.0.0-...-683b059 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2022 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Overview

Package ashproc provides utilities to find ash Chrome (a.k.a. chromeos-chrome) processes.

Index

Constants

View Source
const ExecPath = "/opt/google/chrome/chrome"

ExecPath contains the path to the Chrome executable.

Variables

This section is empty.

Functions

func Processes

func Processes() ([]*process.Process, error)

Processes returns ash-chrome processes, including crashpad_handler processes, too.

func Root

func Root() (*process.Process, error)

Root returns the Process instance of the root ash-chrome process.

func WaitForRoot

func WaitForRoot(ctx context.Context, timeout time.Duration) (*process.Process, error)

WaitForRoot waits for ash-chrome's root process is launched.

Types

This section is empty.

Jump to

Keyboard shortcuts

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