mirror of
https://github.com/jimeh/go-tmux.git
synced 2026-02-19 04:46:40 +00:00
12 lines
196 B
Go
12 lines
196 B
Go
package tmux
|
|
|
|
import (
|
|
"os/exec"
|
|
)
|
|
|
|
type ExecRunner struct{}
|
|
|
|
func (r *ExecRunner) Run(command string, args ...string) ([]byte, error) {
|
|
return exec.Command(command, args...).CombinedOutput()
|
|
}
|