mirror of
https://github.com/johnkerl/miller.git
synced 2026-01-23 02:14:13 +00:00
12 lines
369 B
Go
12 lines
369 B
Go
// ================================================================
|
|
// Wraps 'sh -c foo bar' or 'cmd /c foo bar', nominally for regression-testing.
|
|
// ================================================================
|
|
|
|
//go:build !windows
|
|
// +build !windows
|
|
|
|
package platform
|
|
|
|
func GetShellRunArray(command string) []string {
|
|
return []string{"/bin/sh", "-c", command}
|
|
}
|