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

Function BuildCommand

cmd/sops/subcommand/exec/exec_unix.go:19–21  ·  view source on GitHub ↗
(command string)

Source from the content-addressed store, hash-verified

17}
18
19func BuildCommand(command string) *exec.Cmd {
20 return exec.Command("/bin/sh", "-c", command)
21}
22
23func WritePipe(pipe string, contents []byte) {
24 handle, err := os.OpenFile(pipe, os.O_WRONLY, 0600)

Callers 2

ExecWithFileFunction · 0.70
ExecWithEnvFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected