shellUtils

package
v0.0.0-...-a97389e Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: GPL-3.0 Imports: 12 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 ExeShellWithEnvVarsAndOutputInDir

func ExeShellWithEnvVarsAndOutputInDir(cmdStr, dir string, envVars []string) ([]string, error)

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 GenFullScreenDivider

func GenFullScreenDivider() string

func GetCmd

func GetCmd(cmdStr string) (cmd *exec.Cmd)

func WindowSize

func WindowSize() window

Types

This section is empty.

Jump to

Keyboard shortcuts

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