Module Shellwords
In: lib/more/facets/shellwords.rb

Methods

Public Instance methods

Escape special characters used in most unix shells to use it, eg. with system().

This differs from Ruby‘s escape in that it does not escape shell variables, e.g. $0.

Escape special character used in DOS-based shells.

TODO: How to integrate with rest of system?

  1. Use platform condition?
  2. Use separate dos_xxx methods?
  3. Put in separate PowerShellwords module?

[Validate]