tiny-rdm/backend/utils/convert/common_nonwindows.go

13 lines
182 B
Go
Raw Permalink Normal View History

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