feat: Initial working version of tmux package

This commit is contained in:
2019-12-09 07:56:52 +00:00
commit 6f353d6d16
13 changed files with 471 additions and 0 deletions

11
exec_runner.go Normal file
View File

@@ -0,0 +1,11 @@
package tmux
import (
"os/exec"
)
type ExecRunner struct{}
func (r *ExecRunner) Run(command string, args ...string) ([]byte, error) {
return exec.Command(command, args...).CombinedOutput()
}