system

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	KillByname func(_name string)
	KillByPid  func(_pid string)
)
View Source
var (
	CreateCommand func(command string) *exec.Cmd
)

Functions

func DisableInterpret

func DisableInterpret()

func ExecuteCommand

func ExecuteCommand(command string) int

func ExecuteCommandResult

func ExecuteCommandResult(command string) string

func ExecuteCommandSilent

func ExecuteCommandSilent(command string) int

func ExecuteCommandSilentResult

func ExecuteCommandSilentResult(command string) string

func IsAlive added in v0.0.3

func IsAlive(src string) bool

could not solve this problem For example, /usr/bin/code will open /opt/vscode/code A just open B, and they have different name Warning : ""

func NewDebounce

func NewDebounce(_interval time.Duration) func(f func())

func NewThrottle

func NewThrottle(_interval time.Duration) func(f func())

func RunBackground added in v0.0.3

func RunBackground(args []string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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