Mix v1.5.1 mix app.start View Source
Starts all registered apps.
The application is started by default as temporary. In case
:start_permanent
is set to true
in your project configuration
or the --permanent
flag is given, it is started as permanent,
which guarantees the node will shutdown if the application
crashes permanently.
Configuration
:start_permanent
- the application and all of its children applications are started in permanent mode. Defaults tofalse
.:consolidate_protocols
- whentrue
, loads consolidated protocols before start. The default value istrue
.:elixir
- matches the current Elixir version against the given requirement
Command line options
--force
- forces compilation regardless of compilation times--temporary
- starts the application as temporary--permanent
- starts the application as permanent--no-compile
- does not compile even if files require compilation--no-protocols
- does not load consolidated protocols--no-archives-check
- does not check archives--no-deps-check
- does not check dependencies--no-elixir-version-check
- does not check Elixir version--no-start
- does not start applications after compilation
Link to this section Summary
Link to this section Functions
A task needs to implement run
which receives
a list of command line args.
Callback implementation for Mix.Task.run/1
.