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

Function powershellCommand

platform/windows/powershell/runner.go:57–62  ·  view source on GitHub ↗
(cmd system.Command)

Source from the content-addressed store, hash-verified

55}
56
57func powershellCommand(cmd system.Command) system.Command {
58 newCmdArgs := append([]string{cmd.Name}, cmd.Args...)
59 cmd.Name = Executable
60 cmd.Args = newCmdArgs
61 return cmd
62}

Callers 2

RunComplexCommandMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected