_shellUtils

package
v0.0.0-...-5746ace Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2023 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExeShell

func ExeShell(cmdStr string) (string, error)

func ExeShellInDir

func ExeShellInDir(cmdStr string, dir string) (ret string, err error)

func ExeShellInDirWithPid

func ExeShellInDirWithPid(cmdStr string, dir string) (ret string, err error, pid int)

func ExeShellWithOutput

func ExeShellWithOutput(cmdStr string) ([]string, error)

func ExeShellWithOutputInDir

func ExeShellWithOutputInDir(cmdStr string, dir string) ([]string, error)

func ExeShellWithPid

func ExeShellWithPid(cmdStr string) (string, error, int)

func ExeSysCmd

func ExeSysCmd(cmdStr string) (string, error)

func GetProcess

func GetProcess(app string) (string, error)

func KillProcessById

func KillProcessById(pid int)

func KillProcessByName

func KillProcessByName(app string) (string, error)

func KillProcessByUUID

func KillProcessByUUID(uuid string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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