MCPcopy Create free account
hub / github.com/remotemobprogramming/mob / startCommand

Function startCommand

mob.go:1300–1309  ·  view source on GitHub ↗
(name string, args ...string)

Source from the content-addressed store, hash-verified

1298}
1299
1300func startCommand(name string, args ...string) (string, error) {
1301 command := exec.Command(name, args...)
1302 if len(workingDir) > 0 {
1303 command.Dir = workingDir
1304 }
1305 commandString := strings.Join(command.Args, " ")
1306 say.Debug("Starting command " + commandString)
1307 err := command.Start()
1308 return commandString, err
1309}
1310
1311var Exit = func(code int) {
1312 os.Exit(code)

Calls 1

DebugFunction · 0.92

Tested by

no test coverage detected