View Source Nerves.Port (nerves v1.10.2)

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

Link to this section Summary

Functions

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

Link to this section Functions

Link to this function

cmd(command, args, opts \\ [])

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

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

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