Created a wrapper around os/exec to log command output.