exec/Cmd
value methods:
Output
Runs the command and returns its standard output. It returns an error, if any.
(cmd Output) -> string
CombinedOutput
Runs the command and returns its combined standard output and standard error.
It returns an error, if any.
(cmd CombinedOutput) -> string
Run
Starts the specified command and waits for it to complete. It returns an error, if any.
(cmd Run) -> nil
Start
Starts the specified command but does not wait for it to complete.
It returns an error, if any.
(cmd Start) -> nil
Wait
Waits for the command to exit and waits for any copying to stdin or
copying from stdout or stderr to complete. It returns an error, if any.
(cmd Wait) -> nil