4件ヒット
[1-4件を表示]
(0.025秒)
ライブラリ
- ビルトイン (1)
-
shell
/ command-processor (2) -
shell
/ process-controller (1)
クラス
- IO (1)
-
Shell
:: CommandProcessor (2) -
Shell
:: ProcessController (1)
キーワード
-
close
_ on _ exec= (1) - executable? (1)
-
executable
_ real? (1) -
wait
_ all _ jobs _ execution (1)
検索結果
先頭4件
-
Shell
:: CommandProcessor # executable?(file) -> bool (27304.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#executable? -
Shell
:: CommandProcessor # executable _ real?(file) -> bool (27304.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#executable_real? -
Shell
:: ProcessController # wait _ all _ jobs _ execution -> () (27304.0) -
全てのジョブの実行が終わるまで待ちます。
全てのジョブの実行が終わるまで待ちます。 -
IO
# close _ on _ exec=(bool) (18463.0) -
自身に close-on-exec フラグを設定します。
自身に close-on-exec フラグを設定します。
このフラグをセットすると exec(2) 時にそのファイルデスクリプタを
close します。
@see fcntl(2)
@param bool 自身の close-on-exec フラグを true か false で指定します。
f = open("/dev/null")
f.close_on_exec = true
system("cat", "/proc/self/fd/#{f.fileno}") # cat: /proc/self/fd/3: No such file or directory
...