os

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2024 License: MIT Imports: 10 Imported by: 2

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