Attachment all command implementation.
Execute the command and return the output string.
Error if the command fails
Attachment all command implementation.