cpp-command-output icon indicating copy to clipboard operation
cpp-command-output copied to clipboard

Execute commands and get exit status and stdout

See here: https://raymii.org/s/articles/Execute_a_command_and_get_both_output_and_exit_code.html