runTimeKit

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2025 License: MIT Imports: 4 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DelayExecCmd added in v0.3.1

func DelayExecCmd(nextSecond int, command string) (string, error)

DelayExecCmd 延迟执行命令

  • @param nextSecond 下次执行秒数
  • @param command 执行的命令

func ExecuteCmd

func ExecuteCmd(shell string, parameter ...string) (string, error)

ExecuteCmd 执行shell命令 *

  • 如要执行 `ls -l /home/user` 传值应该是 name=ls,arg="-l","/home/user"
  • @param shell 命令
  • @param parameter 参数
  • @return string,err 终端返回的信息,错误信息

Types

This section is empty.

Jump to

Keyboard shortcuts

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