bettercap/core/core_unix.go

5 lines
102 B
Go

package core
func Shell(cmd string) (string, error) {
return Exec("/bin/sh", []string{"-c", cmd})
}