MCPcopy Create free account
hub / github.com/GoEdgeLab/EdgeNode / WithEnv

Method WithEnv

internal/utils/exec/cmd.go:67–70  ·  view source on GitHub ↗
(env []string)

Source from the content-addressed store, hash-verified

65}
66
67func (this *Cmd) WithEnv(env []string) *Cmd {
68 this.env = env
69 return this
70}
71
72func (this *Cmd) WithDir(dir string) *Cmd {
73 this.dir = dir

Callers 1

runActionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected