290件ヒット
[201-290件を表示]
(0.021秒)
別のキーワード
ライブラリ
- ビルトイン (104)
- pty (12)
- shell (6)
-
shell
/ command-processor (84) -
shell
/ process-controller (48) - tracer (36)
クラス
- Shell (6)
-
Shell
:: CommandProcessor (84) -
Shell
:: ProcessController (48) - Tracer (36)
キーワード
- abort (24)
- activate (6)
-
active
_ process _ controllers (6) -
add
_ delegate _ command _ to _ shell (6) -
alias
_ command (12) -
alias
_ map (6) -
block
_ output _ synchronize (6) - check (12)
-
def
_ builtin _ commands (6) -
def
_ system _ command (6) -
display
_ process _ id (12) -
display
_ process _ id= (12) -
display
_ process _ id? (12) -
each
_ active _ object (6) - exec (12)
- exit (12)
- exit! (12)
- fork (24)
- inactivate (6)
- initialize (6)
-
install
_ builtin _ commands (6) -
install
_ system _ commands (6) -
last
_ status (8) -
method
_ added (6) - new (12)
-
process
_ controllers _ exclusive (6) -
run
_ config (6) - spawn (12)
-
unalias
_ command (6) -
undef
_ system _ command (12) -
wait
_ to _ finish _ all _ process _ controllers (6)
検索結果
先頭5件
-
Shell
:: CommandProcessor . install _ builtin _ commands -> () (3001.0) -
ビルトインコマンドを定義します。
ビルトインコマンドを定義します。 -
Shell
:: CommandProcessor . install _ system _ commands(prefix = "sys _ ") -> () (3001.0) -
全てのシステムコマンドをメソッドとして定義します。
全てのシステムコマンドをメソッドとして定義します。
既に定義されているコマンドを再定義することはありません。
デフォルトでは全てのコマンドに "sys_" というプレフィクスが付きます。
また、メソッド名として使用できない文字は全て "_" に置換してメソッドを定義します。
このメソッドの実行中に発生した例外は単に無視されます。
@param prefix プレフィクスを指定します。 -
Shell
:: CommandProcessor . method _ added(id) (3001.0) -
@todo このクラスに定義されたメソッドを Shell にも定義するためのフックです。
@todo
このクラスに定義されたメソッドを Shell にも定義するためのフックです。
@param id メソッド名を指定します。 -
Shell
:: CommandProcessor . new(shell) (3001.0) -
@todo
@todo -
Shell
:: CommandProcessor . run _ config -> () (3001.0) -
ユーザのホームディレクトリに "~/.rb_shell" というファイルが存在すれば、それを Kernel.#load します。
ユーザのホームディレクトリに "~/.rb_shell" というファイルが存在すれば、それを Kernel.#load します。
存在しない時は何もしません。 -
Shell
:: CommandProcessor . unalias _ command(alias) -> self (3001.0) -
エイリアスを削除します。
エイリアスを削除します。
@param alias 削除したいエイリアスを指定します。 -
Shell
:: CommandProcessor . undef _ system _ command(command) -> self (3001.0) -
与えられたコマンドを削除します。
与えられたコマンドを削除します。
@param command 削除したいコマンド名を指定します。 -
Shell
:: ProcessController . activate(pc) -> () (3001.0) -
@todo
@todo -
Shell
:: ProcessController . block _ output _ synchronize { . . . } -> () (3001.0) -
@todo
@todo -
Shell
:: ProcessController . each _ active _ object {|ref| . . . } -> () (3001.0) -
@todo
@todo -
Shell
:: ProcessController . inactivate(pc) -> () (3001.0) -
@todo
@todo -
Shell
:: ProcessController . new(shell) (3001.0) -
自身を初期化します。
自身を初期化します。
@param shell Shell のインスタンスを指定します。 -
PTY
. check(pid , raise = false) -> Process :: Status | nil (108.0) -
pid で指定された子プロセスの状態をチェックし、変化があれば変化したステータスを 返します。実行中、あるいは変化なしであれば nil を返します。
...)ので注意してください。
状態が変化して、終了したか停止した場合、第二引数が偽であれば、
対応する Process::Status オブジェクトを返します。
@param pid チェックしたい子プロセスの PID を指定します。
@param raise 真を指... -
Shell
. undef _ system _ command(command) -> Shell :: CommandProcessor (101.0) -
commandを削除します.
commandを削除します.
@param command 削除するコマンドの文字列を指定します。
動作例:
require 'shell'
Shell.def_system_command("ls")
# ls を定義
Shell.undef_system_command("ls")
# ls を 削除
sh = Shell.new
begin
sh.transact {
ls("-l").each {|l|
puts l
}
}
rescue NameError => err
puts ...