command

package
v0.4.10 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2024 License: Apache-2.0 Imports: 8 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecResultStr

func ExecResultStr(cmdStr string) (string, error)

func ExecResultStrArray

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

func ExecStdin

func ExecStdin(stdinStr string, name string, args ...string) (string, error)

func ExecuteScripts

func ExecuteScripts(scriptDirectory string) error

func OnlyExec deprecated

func OnlyExec(cmdStr string) (string, error)

Deprecated: This method is not safe, sould have ensure input.

Types

This section is empty.

Jump to

Keyboard shortcuts

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