add 'exec' command (thanks Stuart Prescott)