MCPcopy
hub / github.com/cloudfoundry/cli / runPluginBinary

Method runPluginBinary

cf/commands/plugin/install_plugin.go:312–320  ·  view source on GitHub ↗
(location string, servicePort string)

Source from the content-addressed store, hash-verified

310}
311
312func (cmd *PluginInstall) runPluginBinary(location string, servicePort string) error {
313 pluginInvocation := exec.Command(location, servicePort, "SendMetadata")
314
315 err := pluginInvocation.Run()
316 if err != nil {
317 return err
318 }
319 return nil
320}

Callers 1

Calls 2

CommandMethod · 0.65
RunMethod · 0.65

Tested by

no test coverage detected