るりまサーチ

最速Rubyリファレンスマニュアル検索!
42件ヒット [1-42件を表示] (0.020秒)
トップページ > クエリ:Shell[x] > クエリ:command[x] > 種類:ライブラリ[x]

別のキーワード

  1. shell/builtin-command new
  2. etc sc_shell
  3. shell/builtin-command each
  4. shell cd
  5. shell notify

検索結果

shell/builtin-command (12017.0)

Shell で使用するビルトインコマンドを定義しているライブラリです。

...Shell で使用するビルトインコマンドを定義しているライブラリです。...

shell/command-processor (12017.0)

Shell で使用可能なコマンドの大半を定義するライブラリです。

...Shell で使用可能なコマンドの大半を定義するライブラリです。...

shell/system-command (12001.0)

optparse/shellwords (6007.0)

OptionParser#on で使用可能な引数に Shellwords 追加されます。 オプションの引数は Shellwords.#shellwords によって配列に変換されてから、 OptionParser#on のブロックに渡されます。

...引数に Shellwords
追加されます。
オプションの引数は Shellwords.#shellwords によって配列に変換されてから、
OptionParser#on のブロックに渡されます。

//emlist[][ruby]{
require 'optparse/shellwords'
opts = OptionParser.new

opts.on("-s VAL", Shellwords){|a|...
...p a #=> ["hoge", "foo", "bar"]
}
opts.parse!

# ruby command -s hoge\ foo\ bar
//}...

win32/registry (25.0)

win32/registry は Win32 プラットフォームでレジストリをアクセスするための ライブラリです。Win32 API の呼び出しに Win32API を使います。

...を使って WScript.Shell オブジェクト経由でアクセスする方法もあります。

require 'win32ole'

wsh = WIN32OLE.new('WScript.Shell')
value = wsh.RegRead 'HKLM\Software\Microsoft\Windows\...'
wsh.RegWrite 'HKCU\Software\foo\barfile\shell\open\command\\', '"C:\..." "%1"',...

絞り込み条件を変える