13 lines
182 B
Go
13 lines
182 B
Go
|
//go:build !windows
|
||
|
|
||
|
package convutil
|
||
|
|
||
|
import (
|
||
|
"os/exec"
|
||
|
)
|
||
|
|
||
|
func runCommand(name string, arg ...string) ([]byte, error) {
|
||
|
cmd := exec.Command(name, arg...)
|
||
|
return cmd.Output()
|
||
|
}
|