ライブラリ
クラス
- CSV (60)
- IO (12)
-
Process
:: Status (24) -
Shell
:: ProcessController (6) - SignalException (24)
- Socket (12)
- StringIO (12)
- WIN32OLE (36)
-
WIN32OLE
_ METHOD (12)
モジュール
- Kernel (120)
- Open3 (84)
-
OpenSSL
:: OCSP (12) - PTY (60)
- Process (176)
-
Socket
:: Constants (12) - Syslog (60)
-
Syslog
:: Option (72) - Timeout (21)
キーワード
-
$ $ (12) -
$ PID (12) -
$ PROCESS _ ID (12) -
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (12) -
LOG
_ CONS (12) -
LOG
_ NDELAY (12) -
LOG
_ NOWAIT (12) -
LOG
_ ODELAY (12) -
LOG
_ PERROR (12) -
LOG
_ PID (12) -
RESPID
_ KEY (12) - Status (12)
-
TCP
_ KEEPIDLE (24) - Tempfile (12)
- WUNTRACED (12)
-
_ getproperty (12) -
_ invoke (12) -
_ setproperty (12) - ` (12)
- capture2e (12)
- capture3 (12)
- check (12)
- detach (12)
- dispid (12)
- fork (24)
- getpgid (12)
- getpty (24)
- getsid (12)
- inspect (12)
- kill (12)
-
last
_ status (8) - logger (12)
- mask (12)
- open (72)
- open! (12)
- pipeline (12)
-
pipeline
_ r (24) -
pipeline
_ start (24) - ppid (12)
-
rb
_ fork (1) -
rb
_ fork _ err (1) - reopen (12)
-
ruby 1
. 8 . 5 feature (12) - setpgid (12)
- setpgrp (12)
- sfork (6)
- signm (12)
- signo (12)
- spawn (72)
- timeout (21)
- wait (12)
- wait2 (12)
- waitall (12)
- waitpid (12)
- waitpid2 (12)
検索結果
先頭5件
-
Process
:: Status # pid -> Integer (21201.0) -
終了したプロセスのプロセス ID を返します。
終了したプロセスのプロセス ID を返します。 -
StringIO
# pid -> nil (21101.0) -
何もせず nil を返します。
何もせず nil を返します。 -
IO
# pid -> Integer | nil (18231.0) -
自身が IO.popen で作られたIOポートなら、子プロセスのプロセス ID を 返します。それ以外は nil を返します。
...close されている場合に発生します。
//emlist[例][ruby]{
IO.popen("-") do |pipe|
if pipe
$stderr.puts "In parent, child pid is #{pipe.pid}" # => In parent, child pid is 16013
else
$stderr.puts "In child, pid is #{$$}" # => In child, pid is 16013
end
end
//}... -
CSV
# pid -> Integer | nil (18223.0) -
IO#pid に委譲します。
...IO#pid に委譲します。
@see IO#pid... -
Process
. # pid -> Integer (18201.0) -
カレントプロセスのプロセス ID を返します。変数 $$ の値と同じです。
...カレントプロセスのプロセス ID を返します。変数 $$
の値と同じです。
@see getpid(2)... -
Socket
:: Constants :: TCP _ KEEPIDLE -> Integer (12200.0) -
Idle time before keepalive probes are sent。 BasicSocket#getsockopt, BasicSocket#setsockopt の第2引数(optname)に使用します。
...Idle time before keepalive probes are sent。
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。
@see tcp(7linux)... -
Socket
:: TCP _ KEEPIDLE -> Integer (12200.0) -
Idle time before keepalive probes are sent。 BasicSocket#getsockopt, BasicSocket#setsockopt の第2引数(optname)に使用します。
...Idle time before keepalive probes are sent。
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。
@see tcp(7linux)... -
Process
. # waitpid(pid = -1 , flags = 0) -> Integer | nil (9376.0) -
pid で指定される特定の子プロセスの終了を待ち、そのプロセスが 終了した時に pid を返します。 wait2, waitpid2 は子プロセスの pid と終了ステータスを表す Process::Status オブジェクトの配列を返します。 ノンブロッキングモードで子プロセスがまだ終了していない時には nil を返します。
...
pid で指定される特定の子プロセスの終了を待ち、そのプロセスが
終了した時に pid を返します。
wait2, waitpid2 は子プロセスの pid と終了ステータスを表す
Process::Status オブジェクトの配列を返します。
ノンブロッキングモー......セスがまだ終了していない時には
nil を返します。
$? に終了した子プロセスの Process::Status オブジェクトがセットされます。
@param pid 子プロセスのプロセス ID を整数で指定します。
0 以上なら指定されたプロセス ID......ちます。
-1 未満なら pid の絶対値とプロセスグループ ID が同じ任意の子プロセスを待ちます。
@param flags Process モジュールの定数 Process::WNOHANG(ノンブロッキングモード)と
Process::WUNTRACED の論理和を指定します... -
Process
. # waitpid2(pid = -1 , flags = 0) -> [Integer , Process :: Status] | nil (9376.0) -
pid で指定される特定の子プロセスの終了を待ち、そのプロセスが 終了した時に pid を返します。 wait2, waitpid2 は子プロセスの pid と終了ステータスを表す Process::Status オブジェクトの配列を返します。 ノンブロッキングモードで子プロセスがまだ終了していない時には nil を返します。
...
pid で指定される特定の子プロセスの終了を待ち、そのプロセスが
終了した時に pid を返します。
wait2, waitpid2 は子プロセスの pid と終了ステータスを表す
Process::Status オブジェクトの配列を返します。
ノンブロッキングモー......セスがまだ終了していない時には
nil を返します。
$? に終了した子プロセスの Process::Status オブジェクトがセットされます。
@param pid 子プロセスのプロセス ID を整数で指定します。
0 以上なら指定されたプロセス ID......ちます。
-1 未満なら pid の絶対値とプロセスグループ ID が同じ任意の子プロセスを待ちます。
@param flags Process モジュールの定数 Process::WNOHANG(ノンブロッキングモード)と
Process::WUNTRACED の論理和を指定します...