# `Nerves.Port`
[🔗](https://github.com/nerves-project/nerves/blob/v1.15.1/lib/nerves/port.ex#L7)

The code from this file was copied in from MuonTrap
https://github.com/fhunleth/muontrap

# `cmd`

```elixir
@spec cmd(binary(), [binary()], keyword()) ::
  {Collectable.t(), exit_status :: non_neg_integer()}
```

Run a command in a similar way to System.cmd/3.

# `exec_path`

```elixir
@spec exec_path() :: String.t()
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
