MCPcopy Create free account
hub / github.com/cloudfoundry/bosh-agent / BuildCommand

Function BuildCommand

agent/script/cmd/build_command_windows.go:9–17  ·  view source on GitHub ↗
(path string)

Source from the content-addressed store, hash-verified

7)
8
9func BuildCommand(path string) boshsys.Command {
10 return boshsys.Command{
11 Name: "powershell",
12 Args: []string{path},
13 Env: map[string]string{
14 "PATH": boshenv.Path(),
15 },
16 }
17}

Callers 3

RunMethod · 0.92
runOnceMethod · 0.92
RunMethod · 0.92

Calls 1

PathMethod · 0.65

Tested by

no test coverage detected