# File lib/specinfra/command/base.rb, line 10
    def escape(target)
      str = case target
            when Regexp
              target.source
            else
              target.to_s
            end

      Shellwords.shellescape(str)
    end