# File lib/sshkit/command.rb, line 183
    def group(&_block)
      return yield unless options[:group]
      %Q(sg #{options[:group]} -c "#{yield}")
      # We could also use the so-called heredoc format perhaps:
      #"newgrp #{options[:group]} <<EOC \\\"%s\\\" EOC" % %Q{#{yield}}
    end