260件ヒット
[1-100件を表示]
(0.088秒)
クラス
- IO (154)
- SystemExit (11)
- Thread (33)
-
WIN32OLE
_ TYPE (11)
キーワード
- exit! (11)
-
irb
_ at _ exit (11) -
irb
_ exit (11) - kill (11)
-
last
_ status (7) - new (11)
- pass (11)
- popen (154)
- progids (11)
検索結果
先頭5件
-
Process
. exit(status = true) -> () (18124.0) -
プロセスを終了します。関数 Kernel.#exit と同じです。
...プロセスを終了します。関数 Kernel.#exit と同じです。
@param status 終了ステータスを boolean か整数で指定します。true の場合は成功を、false は失敗を意味します。
@see exit(3)... -
Thread
. exit -> () (18118.0) -
カレントスレッドに対して Thread#exit を呼びます。
...カレントスレッドに対して Thread#exit を呼びます。... -
Process
. exit!(status = false) -> () (6124.0) -
関数 Kernel.#exit! と同じです。
...関数 Kernel.#exit! と同じです。
@param status 終了ステータスを boolean か整数で指定します。true の場合は成功を、false は失敗を意味します。
@see _exit(2)... -
IRB
. irb _ at _ exit -> () (6118.0) -
at_exit で登録された処理を実行します。
...at_exit で登録された処理を実行します。
ユーザが直接使用するものではありません。... -
IRB
. irb _ exit(irb , ret) -> object (6102.0) -
irb を終了します。ret で指定したオブジェクトを返します。
irb を終了します。ret で指定したオブジェクトを返します。
@param irb 現在の IRB::Irb オブジェクトを指定します。
@param ret 戻り値を指定します。
ユーザが直接使用するものではありません。 -
SystemExit
. new(status = 0 , error _ message = "") -> SystemExit (3101.0) -
SystemExit オブジェクトを生成して返します。
...SystemExit オブジェクトを生成して返します。
@param status 終了ステータスを整数で指定します。
@param error_message エラーメッセージを文字列で指定します。
例:
ex = SystemExit.new(1)
p ex.status # => 1... -
Thread
. kill(thread) -> Thread (17.0) -
指定したスレッド thread に対して Thread#exit を呼びます。終了したスレッドを返します。
...指定したスレッド thread に対して Thread#exit を呼びます。終了したスレッドを返します。
@param thread 終了したい Thread オブジェクトを指定します。
th = Thread.new do
end
p Thread.kill(th) #=> #<Thread:0x40221bc8 dead>... -
Process
. last _ status -> Process :: Status | nil (13.0) -
カレントスレッドで最後に終了した子プロセスのステータスを返します。
...テータスを返します。
変数 $? の値と同じです。
Process.wait Process.spawn("ruby", "-e", "exit 13")
Process.last_status # => #<Process::Status: pid 4825 exit 13>
カレントスレッドで子プロセスを実行したことがない場合は nil を返します。... -
IO
. popen("-" , mode = "r" , opt={}) -> IO (7.0) -
第一引数に文字列 "-" が指定された時、fork(2) を 行い子プロセスの標準入出力との間にパイプラインを確立します。 親プロセスでは IO オブジェクトを返し、子プロセスでは nil を返します。
...io.puts "foo"
p io.gets # => "child output: foo\n"
io.close
else # child
s = gets
print "child output: " + s
exit
end
ブロックを与えられた場合、親プロセスでは生成した IO オブジェクトを引数に
ブロックを実行し、... -
IO
. popen("-" , mode = "r" , opt={}) {|io| . . . } -> object (7.0) -
第一引数に文字列 "-" が指定された時、fork(2) を 行い子プロセスの標準入出力との間にパイプラインを確立します。 親プロセスでは IO オブジェクトを返し、子プロセスでは nil を返します。
...io.puts "foo"
p io.gets # => "child output: foo\n"
io.close
else # child
s = gets
print "child output: " + s
exit
end
ブロックを与えられた場合、親プロセスでは生成した IO オブジェクトを引数に
ブロックを実行し、...