Mix.Shell.cmd

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

Specs

cmd(command :: String.t()) :: integer()

Executes the given command and returns its exit status.

Specs

cmd(command :: String.t(), options :: keyword()) :: integer()

Executes the given command and returns its exit status.

Options

  • :print_app - when false, does not print the app name when the command outputs something

  • :stderr_to_stdout - when false, does not redirect stderr to stdout

  • :quiet - when true, do not print the command output

  • :env - environment options to the executed command