Examples using... "os/exec"

Recent
LookPath searches for an executable named file in the directories named by the PATH environment variable. If file contains a slash, it is tried directly and the PATH is not consulted. The result may be an absolute path or a path relative to the current directory.
Command returns the Cmd struct to execute the named program with the given arguments.
Command returns the Cmd struct to execute the named program with the given arguments.
StdoutPipe returns a pipe that will be connected to the command's standard output when the command starts.
StdinPipe returns a pipe that will be connected to the command's standard input when the command starts. The pipe will be closed automatically after Wait sees the command exit. A caller need only call Close to force the pipe to close sooner. For example, if the command being run will not exit until ...
StderrPipe returns a pipe that will be connected to the command's standard error when the command starts.
Start starts the specified command but does not wait for it to complete.
Run starts the specified command and waits for it to complete.
Output runs the command and returns its standard output. Any returned error will usually be of type *ExitError. If c.Stderr was nil, Output populates ExitError.Stderr.
CombinedOutput runs the command and returns its combined standard output and standard error.
Calling exec completely replaces the current Go process with another (perhaps non-Go) one.