os

package
v1.7.3 Latest Latest
Warning

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

Go to latest
Published: May 15, 2024 License: MIT Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cmd

func Cmd(s string) (string, error)

func CmdInDir

func CmdInDir(s, dir string) (string, error)

func CmdLog

func CmdLog(s string) (string, error)

func ContainQuotedCMD

func ContainQuotedCMD(s string) (string, error)

func ContainQuotedStdoutCMD

func ContainQuotedStdoutCMD(s string) error

func Hostname

func Hostname() string

Hostname returns the host name reported by the kernel.

func Split

func Split(line string) []string

func StdOutCmd

func StdOutCmd(s string) error

func WaitShutdown

func WaitShutdown()

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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