564件ヒット
[1-100件を表示]
(0.115秒)
クラス
- Shell (42)
-
Shell
:: BuiltInCommand (6) -
Shell
:: CommandProcessor (324) -
Shell
:: Filter (96) -
Shell
:: ProcessController (30) -
Shell
:: SystemCommand (66)
キーワード
- < (6)
- > (6)
- >> (6)
- [] (18)
- active? (6)
-
add
_ schedule (6) - append (6)
- atime (6)
- basename (6)
- cat (18)
-
check
_ point (6) - chmod (6)
- chown (6)
- concat (6)
- ctime (6)
- delete (6)
- directory? (6)
- dirname (6)
- each (6)
- echo (18)
- executable? (6)
-
executable
_ real? (6) - exist? (6)
- exists? (6)
-
find
_ system _ command (12) -
finish
_ all _ jobs (6) - foreach (6)
- ftype (6)
- glob (18)
- identical? (6)
- join (6)
- kill (6)
-
kill
_ job (6) - lstat (6)
- mkdir (6)
- mtime (6)
- name (6)
- notify (18)
- open (6)
- out (12)
- readlink (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) - 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
_ writable? (6) - writable? (6)
-
writable
_ real? (6) - | (6)
検索結果
先頭5件
-
Shell
:: SystemCommand # command -> String (24303.0) -
@todo
...@todo
コマンド名を返します。... -
Shell
:: SystemCommand # terminate -> () (24302.0) -
@todo
...@todo... -
Shell
:: SystemCommand # start _ export (21302.0) -
@todo
...@todo... -
Shell
:: SystemCommand # start _ import -> () (21302.0) -
@todo
...@todo... -
Shell
:: ProcessController # terminate _ job(command) (18409.0) -
指定されたコマンドを終了します。
...指定されたコマンドを終了します。
@param command コマンドを指定します。... -
Shell
:: CommandProcessor # find _ system _ command(command) (18304.0) -
@todo
...@todo... -
Shell
:: Filter # find _ system _ command(command) (18304.0) -
@todo
...@todo... -
Shell
:: ProcessController # start _ job(command = nil) (15309.0) -
指定されたコマンドの実行を開始します。
...指定されたコマンドの実行を開始します。
コマンドを省略した場合は、待ち状態のジョブのうち先頭のものを実行します。
@param command コマンドを指定します。... -
Shell
:: CommandProcessor # transact { . . . } -> object (15208.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 # directory?(file) -> bool (15202.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列か IO オブジェクトを指定します。
@see FileTest.#directory?... -
Shell
:: CommandProcessor # executable _ real?(file) -> bool (15202.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#executable_real?... -
Shell
:: CommandProcessor # truncate(path , length) -> 0 (15202.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param path パスを表す文字列を指定します。
@param length 変更したいサイズを整数で与えます。
@see File.truncate... -
Shell
:: CommandProcessor # world _ writable? (15202.0) -
@todo
...@todo... -
Shell
:: CommandProcessor # writable?(file) -> bool (15202.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#writable?... -
Shell
:: CommandProcessor # writable _ real?(file) -> bool (15202.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#writable_real?... -
Shell
:: SystemCommand # start -> () (15202.0) -
@todo
...@todo... -
Shell
:: CommandProcessor # system(command , *opts) -> Shell :: SystemCommand (12437.0) -
command を実行する.
...
command を実行する.
@param command 実行するコマンドのパスを文字列で指定します。
@param opts command のオプションを文字列で指定します。複数可。
使用例:
require 'shell'
Shell.verbose = false
sh = Shell.new
print sh.system("ls", "-l")
S......hell.def_system_command("head")
sh.system("ls", "-l") | sh.head("-n 3") > STDOUT...