MCPcopy Create free account
hub / github.com/codegangsta/gin / NewRunner

Function NewRunner

lib/runner.go:28–35  ·  view source on GitHub ↗
(bin string, args ...string)

Source from the content-addressed store, hash-verified

26}
27
28func NewRunner(bin string, args ...string) Runner {
29 return &runner{
30 bin: bin,
31 args: args,
32 writer: ioutil.Discard,
33 starttime: time.Now(),
34 }
35}
36
37func (r *runner) Run() (*exec.Cmd, error) {
38 if r.needsRefresh() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected