Documentation ¶ Rendered for linux/amd64 windows/amd64 darwin/amd64 js/wasm Index ¶ Variables func BgRun(command string) (err error) func OutRun(command string, stdIn io.Reader, stdOut io.Writer, stdErr io.Writer) (code int, outStr, errStr string, err error) func Run(command string) (code int, outStr, errStr string, err error) func RunNewProcess() (pid int, err error) Constants ¶ This section is empty. Variables ¶ View Source var ( Debug = false Env []string Dir string ) Functions ¶ func BgRun ¶ func BgRun(command string) (err error) func OutRun ¶ func OutRun(command string, stdIn io.Reader, stdOut io.Writer, stdErr io.Writer) (code int, outStr, errStr string, err error) func Run ¶ func Run(command string) (code int, outStr, errStr string, err error) func RunNewProcess ¶ added in v0.0.21 func RunNewProcess() (pid int, err error) Types ¶ This section is empty. Source Files ¶ View all Source files shell.go shell_notwin.go Click to show internal directories. Click to hide internal directories.