KinoShell (kino_shell v0.1.2)

Summary

Functions

Executes a shell command and returns the result.

Helper function to print Terminal output using a Kino frame.

Functions

Link to this function

exec(exe, args, on_stdout_stderr, opts \\ [:stream])

Executes a shell command and returns the result.

Examples

iex> KinoShell.exec("echo", ["Hello world"], fn output -> IO.puts(output) end)
Hello world
0