forked from Lainports/freebsd-ports
shell. Pipes and redirections work just as expected:
sh = Shell.cd("/foo")
sh.cat("bar") | sh.tee("baz") > "baa"
# or
sh.transact do
cat("bar") | tee("baz") > "baa"
end
1 line
62 B
Text
1 line
62 B
Text
MD5 (ruby/shell-0.5.6.tgz) = eab033b97ee6fbcfd15fff23715adbcc
|