ShellExecutor v0.1.2 ShellExecutor

Documentation for ShellExecutor.

Link to this section Summary

Functions

Executes a given filename with a given program, specifying the args provided. The options include: :working_directory - used to set this as a current directory (cd) prior to script execution, :args_separator - denotes the string separator used between the arguments (optional, space “ “ is used by default), :extract_last_line - denotes whether to extract last line from the result strign returned

Hello world

Link to this section Functions

Link to this function execute(program \\ "", filename, args \\ [], options \\ [])

Executes a given filename with a given program, specifying the args provided. The options include: :working_directory - used to set this as a current directory (cd) prior to script execution, :args_separator - denotes the string separator used between the arguments (optional, space “ “ is used by default), :extract_last_line - denotes whether to extract last line from the result strign returned.

Hello world.

Examples

iex> ShellExecutor.hello
:world