900件ヒット
[1-100件を表示]
(0.099秒)
別のキーワード
ライブラリ
-
irb
/ cmd / pushws (11) - optparse (88)
- rake (11)
-
rubygems
/ command (77) -
rubygems
/ commands / dependency _ command (11) - shell (66)
-
shell
/ builtin-command (12) -
shell
/ command-processor (408) -
shell
/ filter (96) -
shell
/ process-controller (30) -
shell
/ system-command (90)
クラス
-
Gem
:: Command (77) -
Gem
:: Commands :: DependencyCommand (11) -
IRB
:: ExtendCommand :: PushWorkspace (11) - OptionParser (88)
- Shell (66)
-
Shell
:: BuiltInCommand (12) -
Shell
:: CommandProcessor (408) -
Shell
:: Filter (96) -
Shell
:: ProcessController (30) -
Shell
:: SystemCommand (90)
モジュール
- FileUtils (11)
キーワード
- < (6)
- > (6)
- >> (6)
- [] (18)
- active? (12)
-
add
_ schedule (6) - append (6)
- atime (6)
- basename (6)
- begins? (11)
- blockdev? (6)
- cat (18)
- chardev? (6)
-
check
_ point (6) - chmod (6)
- chown (6)
-
command
_ processor (6) - concat (6)
- ctime (6)
- defaults (11)
- defaults= (11)
- delete (6)
- directory? (6)
- dirname (6)
- each (6)
- echo (18)
- executable? (6)
-
executable
_ real? (6) - execute (11)
- exist? (6)
- exists? (6)
- file? (6)
-
find
_ gems (11) -
find
_ system _ command (18) -
finish
_ all _ jobs (6) - flush (6)
- foreach (6)
- ftype (6)
- glob (18)
- grpowned? (6)
- identical? (6)
- input= (6)
- join (6)
- kill (6)
-
kill
_ job (6) - link (6)
- lstat (6)
- mkdir (6)
- mtime (6)
- name (6)
- notify (18)
- on (88)
- open (6)
- out (18)
- 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)
-
show
_ help (11) -
show
_ lookup _ failure (11) - 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 (18)
- tee (18)
- terminate (6)
-
terminate
_ job (6) - test (18)
-
to
_ a (6) -
to
_ s (6) - transact (18)
- truncate (6)
- unlink (6)
- utime (6)
- wait? (12)
-
world
_ readable? (6) -
world
_ writable? (6) - writable? (6)
-
writable
_ real? (6) - zero? (6)
- | (6)
検索結果
先頭5件
-
Shell
:: SystemCommand # command -> String (24102.0) -
@todo
@todo
コマンド名を返します。 -
FileUtils
# sh(*cmd) {|result , status| . . . } (18126.0) -
与えられたコマンドを実行します。
...。
@param cmd 引数の解釈に関しては Kernel.#exec を参照してください。
例:
sh %{ls -ltr}
sh 'ls', 'file with spaces'
# check exit status after command runs
sh %{grep pattern file} do |ok, res|
if ! ok
puts "pattern not found (status = #{res.exit... -
Shell
:: CommandProcessor # find _ system _ command(command) (12203.0) -
@todo
@todo -
Shell
:: CommandProcessor # rehash -> {} (12101.0) -
登録されているシステムコマンドの情報をクリアします。 通常、使うことはありません。
登録されているシステムコマンドの情報をクリアします。
通常、使うことはありません。 -
Shell
:: SystemCommand # flush -> () (12101.0) -
@todo
@todo -
Shell
# command _ processor -> Shell :: CommandProcessor (9302.0) -
@todo
@todo -
Shell
# find _ system _ command(command) (9203.0) -
@todo
@todo -
Shell
:: Filter # find _ system _ command(command) (9203.0) -
@todo
@todo -
Gem
:: Command # show _ help -> () (9101.0) -
コマンドの使用方法を表示します。
コマンドの使用方法を表示します。 -
Gem
:: Command # show _ lookup _ failure(gem _ name , version , errors = nil) -> () (9101.0) -
Gem が見つからなかった場合、メッセージを表示するために使用するメソッドです。
Gem が見つからなかった場合、メッセージを表示するために使用するメソッドです。
@param gem_name Gem の名前を指定します。
@param version Gem のバージョンを指定します。
@param errors Gem が見つからなかった理由を表すオブジェクトを格納した配列を指定します。 -
Shell
:: CommandProcessor # finish _ all _ jobs (9101.0) -
@todo
@todo -
Shell
:: SystemCommand # name -> String (9002.0) -
@todo
@todo
コマンド名を返します。 -
Shell
:: CommandProcessor # system(command , *opts) -> Shell :: SystemCommand (6360.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... -
Shell
:: CommandProcessor # append(to , filter) -> Shell :: AppendFile | Shell :: AppendIO (6201.0) -
@todo
...@todo
@param to 文字列か IO を指定します。
@param filter Shell::Filter のインスタンスを指定します。... -
Shell
:: CommandProcessor # [](command , file1 , file2 = nil) -> bool | Time | Integer | nil (6151.0) -
Kernel.#test や FileTest のメソッドに処理を委譲します。
...Kernel.#test や FileTest のメソッドに処理を委譲します。
@param command 数値、またはサイズが 1 の文字列の場合は Kernel.#test に処理委譲します。
2 文字以上の文字列の場合は FileTest のメソッドとして実行します。
@para......定します。
require 'shell'
Shell.verbose = false
sh = Shell.new
begin
sh.mkdir("foo")
rescue
end
p sh[?e, "foo"] # => true
p sh[:e, "foo"] # => true
p sh["e", "foo"] # => true
p sh[:exists?, "foo"] # => true
p sh["exists?", "foo"] # => true...