るりまサーチ

最速Rubyリファレンスマニュアル検索!
6件ヒット [1-6件を表示] (0.006秒)
トップページ > クエリ:transact[x] > 種類:ライブラリ[x]

別のキーワード

  1. shell transact
  2. filter transact
  3. shell/filter transact
  4. commandprocessor transact
  5. shell/command-processor transact

検索結果

shell (7.0)

Ruby 上で sh/csh のようにコマンドの実行及びフィルタリングを手軽に行うためのライブラリです。

...f.puts "TEST"
f.close
end
print sh.pwd
end
end

==== Example 2:

require 'shell'
sh = Shell.cd("/tmp")
sh.transact do
mkdir "shell-test-1" unless exists?("shell-test-1")
cd("shell-test-1")
for dir in ["dir1", "dir3", "dir5"]
if !exists?(dir)...