A module for executing external command line programs.
The command line to execute. Use care to avoid injection attacks (i.e., if the command uses untrusted/variable data, sanitize it with
Provide standard input to the program as a string.
If additional files are required to be read in as part of the output of the command they can be defined here.
The unique id for tracking executors.
Exit code from the program.
True if the command was terminated with a signal.
Each line of standard output.
Each line of standard error.
If additional files were requested to be read in the content of the files will be available here.
Function for running command line programs and getting output. This is an asynchronous function which is meant to be run with the when statement.
Cmd: The command to run. Use care to avoid injection attacks! Returns: A record representing the full results from the external program execution.