12件ヒット
[1-12件を表示]
(0.263秒)
ライブラリ
- shell (6)
-
shell
/ command-processor (6)
クラス
- Shell (6)
-
Shell
:: CommandProcessor (6)
検索結果
先頭2件
-
Shell
. def _ system _ command(command , path = command) -> nil (18220.0) -
Shell のメソッドとして command を登録します.
...を文字列で指定します。
@param path command のパスを指定します。
指定しない場合はcommand と同じになります。
例)
require 'shell'
Shell.def_system_command "ls"
# ls を定義
Shell.def_system_command "sys_sort", "sort"
# sortコマンド... -
Shell
:: CommandProcessor . def _ system _ command(command , path = command) -> () (18214.0) -
@todo
...@todo
与えられたコマンドをメソッドとして定義します。
@param command 定義したいコマンドを指定します。
@param path command のパスを指定します。省略すると環境変数 PATH から command を探します。...