busybox v0.1.0 Busybox
BusyBox for Elixir programs
BusyBox is a C program that provides implementations of many Unix utilities in one small package. It is frequently used in embedded systems.
This Elixir module makes it available to Elixir programs on platforms that BusyBox supports.
Link to this section Summary
Functions
Execute a BusyBox command like System.cmd/3
Find the path to a BusyBox command
Return a list of installation paths for BusyBox binaries
Link to this section Functions
Link to this function
cmd(command, args, opts \\ [])
cmd(command, args, opts \\ [])
cmd(binary(), [binary()], keyword()) ::
{Collectable.t(), exit_status :: non_neg_integer()}
cmd(binary(), [binary()], keyword()) :: {Collectable.t(), exit_status :: non_neg_integer()}
Execute a BusyBox command like System.cmd/3
The BusyBox commands are in this application's priv directory and this
version of cmd/3
only looks there for the binaries.
Link to this function
find_executable(program)
Find the path to a BusyBox command
Link to this function
path()
path()
path() :: [Path.t()]
path() :: [Path.t()]
Return a list of installation paths for BusyBox binaries