# External programs
{id: external-programs}

## Find executable (which where)
{id: find-executable}
{i: which}
{i: where}
{i: exec}
{i: LookPath}

* Unix: `which`
* Windows: `where`
* Go:

![](examples/find-executable/find_executable.go)
![](examples/find-executable/find_executable.out)

## Run external programs
{id: run-external-programs}

![](examples/run-external/run_external.go)

## Run external program in the background
{id: run-external-program-in-the-background}

![](examples/run-external-in-background/run_external_in_background.go)

## Capture the outout of an external program
{id: capture-output-of-external-program}

![](examples/capture-external/capture_external.go)
![](examples/external/external.go)
