package
Version:
v0.0.29
Opens a new window with list of versions in this module.
Published: Aug 30, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
-
func Run(tag, shell, cmd string) (string, string, error)
-
func RunByBash(tag, cmd string) (string, string, error)
-
func RunBySh(tag, cmd string) (string, string, error)
-
func RunCmdStream(tag, shell, cmd string, stdoutChan, stderrChan, shutdownChan chan string) error
func RunCmdStream(tag, shell, cmd string, stdoutChan, stderrChan, shutdownChan chan string) error
异步执行命令, 实时获取命令输出
Source Files
¶
Click to show internal directories.
Click to hide internal directories.