MCPcopy Create free account
hub / github.com/cogentcore/core / Start

Method Start

shell/run.go:28–30  ·  view source on GitHub ↗

Start starts the given command string for running in the background, handling the given arguments appropriately. If there is any error, it adds it to the shell. It forwards output to [exec.Config.Stdout] and [exec.Config.Stderr] appropriately.

(cmd any, args ...any)

Source from the content-addressed store, hash-verified

26// If there is any error, it adds it to the shell. It forwards output to
27// [exec.Config.Stdout] and [exec.Config.Stderr] appropriately.
28func (sh *Shell) Start(cmd any, args ...any) {
29 sh.Exec(false, true, false, cmd, args...)
30}
31
32// Output executes the given command string, handling the given arguments
33// appropriately. If there is any error, it adds it to the shell. It returns

Callers

nothing calls this directly

Calls 1

ExecMethod · 0.95

Tested by

no test coverage detected