os

package
v2.1.0 Latest Latest
Warning

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

Go to latest
Published: May 13, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CmdForLog

func CmdForLog(command string, args ...string) string

func RunBashCommand

func RunBashCommand(cmd string) error

RunBashCommand run bash command

func RunCommand

func RunCommand(ctx context.Context, cwd, command string, args ...string) (string, error)

func RunCommandWithStdin

func RunCommandWithStdin(ctx context.Context, cwd, stdin, command string, args ...string) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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