Versions in this module Expand all Collapse all v0 v0.0.1 May 24, 2023 Changes in this version + func Exec(cmdStr string) (string, error) + func ExecCronjobWithTimeOut(cmdStr string, timeout time.Duration) (string, error) + func ExecWithTimeOut(cmdStr string, timeout time.Duration) (string, error) + func Execf(cmdStr string, a ...interface{}) (string, error) + func HasNoPasswordSudo() bool + func SudoHandleCmd() string