NervesSSH.Exec (nerves_ssh v1.1.0)

View Source

This module contains helper methods for running commands over SSH

Summary

Functions

Run one Elixir command coming over ssh

Run one LFE command coming over ssh

Functions

run_elixir(cmd)

@spec run_elixir(charlist()) :: {:ok, binary()} | {:error, binary()}

Run one Elixir command coming over ssh

run_lfe(cmd)

@spec run_lfe(charlist()) :: {:ok, iolist()} | {:error, binary()}

Run one LFE command coming over ssh