Packages

Multi-surface application runtime for Elixir. One TEA module renders to terminal, browser (LiveView), SSH, and MCP (agents). 30+ widgets, flexbox + CSS grid, AI agent runtime, distributed swarm with CRDTs, time-travel debugging, session recording, sandboxed REPL, and agentic commerce.

Current section

Files

Jump to
raxol lib raxol system environment_adapter_impl.ex
Raw

lib/raxol/system/environment_adapter_impl.ex

defmodule Raxol.System.EnvironmentAdapterImpl do
@moduledoc """
Concrete implementation of EnvironmentAdapterBehaviour using Elixir's System module.
"""
@behaviour Raxol.System.EnvironmentAdapterBehaviour
@impl Raxol.System.EnvironmentAdapterBehaviour
def get_env(variable) do
System.get_env(variable)
end
@impl Raxol.System.EnvironmentAdapterBehaviour
def cmd(command, args, options \\ []) do
System.cmd(command, args, options)
end
end