MCPcopy Index your code
hub / github.com/getsops/sops / ExecSyscall

Function ExecSyscall

cmd/sops/subcommand/exec/exec_unix.go:15–17  ·  view source on GitHub ↗
(command string, env []string)

Source from the content-addressed store, hash-verified

13)
14
15func ExecSyscall(command string, env []string) error {
16 return syscall.Exec("/bin/sh", []string{"/bin/sh", "-c", command}, env)
17}
18
19func BuildCommand(command string) *exec.Cmd {
20 return exec.Command("/bin/sh", "-c", command)

Callers 1

ExecWithEnvFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected