るりまサーチ (Ruby 2.4.0)

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.100秒)

別のキーワード

  1. shellwords shellescape
  2. string shellescape
  3. shellescape shellwords
  4. shellescape string

ライブラリ

クラス

検索結果

String#shellescape -> String (54343.0)

文字列を Bourne シェルのコマンドライン中で安全に使えるようにエスケープします。

文字列を Bourne シェルのコマンドライン中で安全に使えるようにエスケープします。

string.shellescape は、Shellwords.escape(string) と等価です。

@return エスケープされた文字列を返します。
@see Shellwords.#shellescape