cmdline

package
v1.53.1 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CommandFn

func CommandFn(fn commandFunc, name string, arg ...string) bool

CommandFn run exec.command(name,arg...).CombinedOutput()

func CommandLineFn

func CommandLineFn(fn commandFunc, c string) bool

CommandLineFn run exec.command(name,arg...).CombinedOutput(), just one command,actually exec /bin/bash -c "your command"

func CommandLineRealtimeStdout

func CommandLineRealtimeStdout(fn commandStdoutFunc, c string) bool

CommandLineRealtimeStdout run exec.command(name,arg...) and realtime output ,just one command,actually exec /bin/bash -c "your command"

func CommandRealtimeStdout

func CommandRealtimeStdout(fn commandStdoutFunc, name string, arg ...string) bool

CommandRealtimeStdout run exec.command(name,arg...) and realtime output

Types

This section is empty.

Jump to

Keyboard shortcuts

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