A simple wrapper that executes shell commands and returns the output as an object