1211件ヒット
[1201-1211件を表示]
(0.096秒)
別のキーワード
モジュール
- Benchmark (12)
- Etc (12)
- FileTest (24)
- Kernel (96)
- Open3 (96)
- Process (458)
-
Process
:: GID (132) -
Process
:: Sys (180) -
Process
:: UID (132) - Signal (36)
- Timeout (21)
-
WEBrick
:: Utils (12)
キーワード
- ` (12)
- argv0 (12)
- capture2 (12)
- capture2e (12)
- capture3 (12)
-
change
_ privilege (24) -
clock
_ gettime (12) - daemon (12)
- detach (12)
- egid (12)
- egid= (12)
- eid (24)
- eid= (24)
- euid (12)
- euid= (12)
- fork (24)
-
from
_ name (24) - getegid (12)
- geteuid (12)
- getgid (12)
- getpgid (12)
- getpgrp (12)
- getpriority (12)
- getrlimit (12)
- getsid (12)
- getuid (12)
- gid (12)
- gid= (12)
-
grant
_ privilege (24) - groups (12)
- groups= (12)
- grpowned? (12)
- initgroups (12)
- issetugid (12)
- kill (12)
- maxgroups (12)
- maxgroups= (12)
- measure (12)
- nprocessors (12)
- owned? (12)
- pid (12)
- pipeline (12)
-
pipeline
_ r (24) -
pipeline
_ start (24) - ppid (12)
-
re
_ exchange (24) -
re
_ exchangeable? (24) - rid (24)
- setegid (12)
- seteuid (12)
- setgid (12)
- setpgid (12)
- setpgrp (12)
- setpriority (12)
- setproctitle (12)
- setregid (12)
- setresgid (12)
- setresuid (12)
- setreuid (12)
- setrgid (12)
- setrlimit (24)
- setruid (12)
- setsid (12)
- setuid (12)
-
sid
_ available? (24) - signame (12)
- spawn (48)
- su (12)
- switch (48)
- throw (12)
- timeout (21)
- times (12)
- trap (24)
- uid (12)
- uid= (12)
- wait (12)
- wait2 (12)
- waitall (12)
- waitpid (12)
- waitpid2 (12)
- warmup (2)
検索結果
先頭2件
-
Timeout
. # timeout(sec , exception _ class = nil) {|i| . . . } -> object (7.0) -
ブロックを sec 秒の期限付きで実行します。 ブロックの実行時間が制限を過ぎたときは例外 Timeout::Error が発生します。
...pid = com.pid
while line = com.gets
print line
end
}
rescue Timeout::Error => err
puts "timeout: shell execution."
Process.kill('SIGINT', pid)
printf "[result]\t%s", com.read
com.close unless com.nil?
end
#止まっているか確認する。
#system(... -
Timeout
. # timeout(sec , exception _ class , message) {|i| . . . } -> object (7.0) -
ブロックを sec 秒の期限付きで実行します。 ブロックの実行時間が制限を過ぎたときは例外 Timeout::Error が発生します。
...pid = com.pid
while line = com.gets
print line
end
}
rescue Timeout::Error => err
puts "timeout: shell execution."
Process.kill('SIGINT', pid)
printf "[result]\t%s", com.read
com.close unless com.nil?
end
#止まっているか確認する。
#system(...