654件ヒット
[1-100件を表示]
(0.092秒)
クラス
- Shell (48)
-
Shell
:: BuiltInCommand (6) -
Shell
:: CommandProcessor (408) -
Shell
:: Filter (96) -
Shell
:: ProcessController (30) -
Shell
:: SystemCommand (66)
キーワード
- < (6)
- > (6)
- >> (6)
- [] (18)
- active? (6)
-
add
_ schedule (6) - append (6)
- atime (6)
- basename (6)
- blockdev? (6)
- cat (18)
- chardev? (6)
-
check
_ point (6) - chmod (6)
- chown (6)
-
command
_ processor (6) - concat (6)
- ctime (6)
- delete (6)
- directory? (6)
- dirname (6)
- each (6)
- echo (18)
- executable? (6)
-
executable
_ real? (6) - exist? (6)
- exists? (6)
- file? (6)
-
find
_ system _ command (12) -
finish
_ all _ jobs (6) - foreach (6)
- ftype (6)
- glob (18)
- grpowned? (6)
- identical? (6)
- join (6)
- kill (6)
-
kill
_ job (6) - link (6)
- lstat (6)
- mkdir (6)
- mtime (6)
- name (6)
- notify (18)
- open (6)
- out (12)
- owned? (6)
- pipe? (6)
- readable? (6)
-
readable
_ real? (6) - readlink (6)
- rehash (6)
- rename (6)
- rm (6)
- rmdir (6)
- setgid? (6)
- setuid? (6)
- sfork (6)
- size (6)
- size? (6)
- socket? (6)
- split (6)
- start (6)
-
start
_ export (6) -
start
_ import (6) -
start
_ job (6) - stat (6)
- sticky? (6)
-
super
_ each (6) - symlink (6)
- symlink? (6)
- system (12)
- tee (18)
- terminate (6)
-
terminate
_ job (6) - test (18)
-
to
_ a (6) -
to
_ s (6) - transact (18)
- truncate (6)
- unlink (6)
- utime (6)
-
world
_ readable? (6) -
world
_ writable? (6) - writable? (6)
-
writable
_ real? (6) - zero? (6)
- | (6)
検索結果
先頭5件
-
Shell
:: SystemCommand # command -> String (21203.0) -
@todo
@todo
コマンド名を返します。 -
Shell
:: SystemCommand # start _ export (15202.0) -
@todo
@todo -
Shell
:: SystemCommand # start _ import -> () (15202.0) -
@todo
@todo -
Shell
# command _ processor -> Shell :: CommandProcessor (12404.0) -
@todo
@todo -
Shell
:: CommandProcessor # find _ system _ command(command) (12204.0) -
@todo
@todo -
Shell
:: CommandProcessor # readable _ real?(file) -> bool (12202.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#readable_real?... -
Shell
:: CommandProcessor # zero?(file) -> bool (12102.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#zero?... -
Shell
:: ProcessController # sfork(command) { . . . } -> [Integer , IO , IO] (9209.0) -
シンプルな fork です。
...シンプルな fork です。
@param command コマンドを指定します。
@return [PID, 入力用 IO, 出力用 IO] からなる配列を返します。... -
Shell
:: ProcessController # start _ job(command = nil) (9209.0) -
指定されたコマンドの実行を開始します。
...指定されたコマンドの実行を開始します。
コマンドを省略した場合は、待ち状態のジョブのうち先頭のものを実行します。
@param command コマンドを指定します。... -
Shell
:: ProcessController # terminate _ job(command) (9209.0) -
指定されたコマンドを終了します。
...指定されたコマンドを終了します。
@param command コマンドを指定します。... -
Shell
:: Filter # find _ system _ command(command) (9204.0) -
@todo
@todo -
Shell
:: CommandProcessor # transact { . . . } -> object (9108.0) -
ブロック中で shell を self として実行します。
...ブロック中で shell を self として実行します。
例:
require 'shell'
Shell.def_system_command("head")
sh = Shell.new
sh.transact{
system("ls", "-l") | head > STDOUT
# transact の中では、
# sh.system("ls", "-l") | sh.head > STDOUT と同じとなる。
}... -
Shell
:: CommandProcessor # chardev?(file) -> bool (9102.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列か IO オブジェクトを指定します。
@see FileTest.#chardev?... -
Shell
:: CommandProcessor # directory?(file) -> bool (9102.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列か IO オブジェクトを指定します。
@see FileTest.#directory?... -
Shell
:: CommandProcessor # dirname(filename) -> String (9102.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列を指定します。
@see File.dirname... -
Shell
:: CommandProcessor # executable _ real?(file) -> bool (9102.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#executable_real?... -
Shell
:: CommandProcessor # foreach(path = nil , &block) -> () (9102.0) -
pathがファイルなら, File#foreach pathがディレクトリなら, Dir#foreach の動作をします。
...ァイルなら, File#foreach
pathがディレクトリなら, Dir#foreach
の動作をします。
@param path ファイルもしくはディレクトリのパスを文字列で指定します。
使用例
require 'shell'
Shell.verbose = false
sh = Shell.new
sh.foreach("/tmp"){|f|
put...