core_unix.go 131 Bytes
Newer Older
Sophie Brun's avatar
Sophie Brun committed
1
// +build !windows,!android
Sophie Brun's avatar
Sophie Brun committed
2 3 4 5 6 7

package core

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