Log the return string from the exec call