294件ヒット
[1-100件を表示]
(0.075秒)
ライブラリ
- rake (12)
- shell (60)
-
shell
/ command-processor (48) -
shell
/ filter (84) -
shell
/ system-command (90)
クラス
- Shell (60)
-
Shell
:: CommandProcessor (48) -
Shell
:: Filter (84) -
Shell
:: SystemCommand (90)
モジュール
- FileUtils (12)
キーワード
- < (6)
- > (6)
- >> (6)
- active? (6)
- cat (18)
- command (6)
- each (6)
- echo (18)
-
find
_ system _ command (18) - flush (6)
- glob (18)
- input= (6)
- kill (6)
- name (6)
- notify (12)
- out (18)
- start (6)
-
start
_ export (6) -
start
_ import (6) -
super
_ each (6) -
system
_ path (6) -
system
_ path= (6) - tee (18)
- terminate (6)
-
to
_ a (6) -
to
_ s (6) - transact (18)
- wait? (6)
- | (6)
検索結果
先頭5件
-
Shell
# system(command , *opts) -> Shell :: SystemCommand (21344.0) -
command を実行する.
...で指定します。
@param opts command のオプションを文字列で指定します。複数可。
使用例:
require 'shell'
Shell.verbose = false
sh = Shell.new
print sh.system("ls", "-l")
Shell.def_system_command("head")
sh.system("ls", "-l") | sh.head("-n 3") > STDOUT... -
Shell
:: CommandProcessor # system(command , *opts) -> Shell :: SystemCommand (21344.0) -
command を実行する.
...で指定します。
@param opts command のオプションを文字列で指定します。複数可。
使用例:
require 'shell'
Shell.verbose = false
sh = Shell.new
print sh.system("ls", "-l")
Shell.def_system_command("head")
sh.system("ls", "-l") | sh.head("-n 3") > STDOUT... -
Shell
:: Filter # system(command , *opts) -> Shell :: SystemCommand (21344.0) -
command を実行する.
...で指定します。
@param opts command のオプションを文字列で指定します。複数可。
使用例:
require 'shell'
Shell.verbose = false
sh = Shell.new
print sh.system("ls", "-l")
Shell.def_system_command("head")
sh.system("ls", "-l") | sh.head("-n 3") > STDOUT... -
FileUtils
# sh(*cmd) {|result , status| . . . } (18126.0) -
与えられたコマンドを実行します。
...参照してください。
例:
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.exitstatus})"
end
end
@see Kernel.#exec, Kernel.#system... -
Shell
:: SystemCommand # flush -> () (12101.0) -
@todo
@todo -
Shell
# system _ path -> Array (9133.0) -
コマンドサーチパスの配列を返す。
...コマンドサーチパスの配列を返す。
@param path コマンドサーチパスの配列を指定します。
使用例
require 'shell'
sh = Shell.new
sh.system_path = [ "./" ]
p sh.system_path #=> ["./"]... -
Shell
# system _ path=(path) (9133.0) -
コマンドサーチパスの配列を返す。
...コマンドサーチパスの配列を返す。
@param path コマンドサーチパスの配列を指定します。
使用例
require 'shell'
sh = Shell.new
sh.system_path = [ "./" ]
p sh.system_path #=> ["./"]... -
Shell
# find _ system _ command(command) (9102.0) -
@todo
@todo -
Shell
:: CommandProcessor # find _ system _ command(command) (9102.0) -
@todo
@todo -
Shell
:: Filter # find _ system _ command(command) (9102.0) -
@todo
@todo -
Shell
:: SystemCommand # active? -> bool (6001.0) -
@todo
@todo -
Shell
:: SystemCommand # command -> String (6001.0) -
@todo
@todo
コマンド名を返します。 -
Shell
:: SystemCommand # each(rs = nil) {|line| . . . } (6001.0) -
@todo
@todo
@param rs -
Shell
:: SystemCommand # input=(inp) (6001.0) -
@todo
@todo -
Shell
:: SystemCommand # kill(signal) -> Integer (6001.0) -
自身のプロセスにシグナルを送ります。
自身のプロセスにシグナルを送ります。
@param signal シグナルを整数かその名前の文字列で指定します。
負の値を持つシグナル(あるいはシグナル名の前に-)を指定すると、
プロセスではなくプロセスグループにシグナルを送ります。
@see Process.#kill -
Shell
:: SystemCommand # name -> String (6001.0) -
@todo
@todo
コマンド名を返します。