Mix.Shell.cmd

You're seeing just the function cmd, go back to Mix.Shell module for more information.
Link to this function

cmd(command, options \\ [], callback)

View Source

Executes the given command as a shell command and invokes the callback for the streamed response.

This is most commonly used by shell implementations but can also be invoked directly.

Options

  • :cd - (since v1.11.0) the directory to run the command in

  • :stderr_to_stdout - redirects stderr to stdout, defaults to true

  • :env - a list of environment variables, defaults to []

  • :quiet - overrides the callback to no-op