Documentation ¶
Index ¶
- func ExeShell(cmdStr string) (string, error)
- func ExeShellInDir(cmdStr string, dir string) (ret string, err error)
- func ExeShellInDirWithPid(cmdStr string, dir string) (ret string, err error, pid int)
- func ExeShellWithOutput(cmdStr string) ([]string, error)
- func ExeShellWithOutputInDir(cmdStr string, dir string) ([]string, error)
- func ExeShellWithPid(cmdStr string) (string, error, int)
- func ExeSysCmd(cmdStr string) (string, error)
- func GetProcess(app string) (string, error)
- func KillProcessById(pid int)
- func KillProcessByName(app string) (string, error)
- func KillProcessByUUID(uuid string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExeShellInDirWithPid ¶
func ExeShellWithOutput ¶
func ExeShellWithOutputInDir ¶
func GetProcess ¶
func KillProcessById ¶
func KillProcessById(pid int)
func KillProcessByName ¶
func KillProcessByUUID ¶
func KillProcessByUUID(uuid string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.