6件ヒット
[1-6件を表示]
(0.013秒)
トップページ >
:インスタンスメソッド
>
:shell/command-processor
> クラス:Shell::CommandProcessor
>
:systemcommand
>
:new

![条件を削除 [x]](/images/drop-condition-icon.png)

![条件を削除 [x]](/images/drop-condition-icon.png)
![条件を削除 [x]](/images/drop-condition-icon.png)

![条件を削除 [x]](/images/drop-condition-icon.png)

![条件を削除 [x]](/images/drop-condition-icon.png)
検索結果
-
Shell
:: CommandProcessor # system(command , *opts) -> Shell :: SystemCommand (111.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...