Exec starts executing a shell command, it tracks corresponding its process and use default timeout.
(desc, cmdName string, args ...string)
| 132 | |
| 133 | // Exec starts executing a shell command, it tracks corresponding its process and use default timeout. |
| 134 | func Exec(desc, cmdName string, args ...string) (string, string, error) { |
| 135 | return ExecDir(-1, "", desc, cmdName, args...) |
| 136 | } |
| 137 | |
| 138 | // Kill kills and removes a process from global list. |
| 139 | func Kill(pid int64) error { |
no test coverage detected