Fix issue #242: --quiet option does not work with exec

Hi, small changes to allow --quiet option for command exec