MCPcopy
hub / github.com/tinygo-org/tinygo / executeCommand

Function executeCommand

main.go:117–122  ·  view source on GitHub ↗

executeCommand is a simple wrapper to exec.Cmd

(options *compileopts.Options, name string, arg ...string)

Source from the content-addressed store, hash-verified

115
116// executeCommand is a simple wrapper to exec.Cmd
117func executeCommand(options *compileopts.Options, name string, arg ...string) *exec.Cmd {
118 if options.PrintCommands != nil {
119 options.PrintCommands(name, arg...)
120 }
121 return exec.Command(name, arg...)
122}
123
124// printCommand prints a command to stdout while formatting it like a real
125// command (escaping characters etc). The resulting command should be easy to

Callers 4

MonitorFunction · 0.85
FlashFunction · 0.85
DebugFunction · 0.85
findFATMountsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected