108件ヒット
[101-108件を表示]
(0.007秒)
別のキーワード
ライブラリ
- shell (6)
-
shell
/ command-processor (6) -
shell
/ filter (6) -
shell
/ system-command (90)
クラス
- Shell (6)
-
Shell
:: CommandProcessor (6) -
Shell
:: Filter (6) -
Shell
:: SystemCommand (90)
キーワード
- active? (6)
- command (6)
- each (6)
- flush (6)
- input= (6)
- kill (6)
- name (6)
- notify (12)
- start (6)
-
start
_ export (6) -
start
_ import (6) -
super
_ each (6) - system (18)
- terminate (6)
- wait? (6)
検索結果
先頭2件
-
Shell
:: CommandProcessor # system(command , *opts) -> Shell :: SystemCommand (102.0) -
command を実行する.
command を実行する.
@param 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 (102.0) -
command を実行する.
command を実行する.
@param 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