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
2 lines
61 B
Plaintext
2 lines
61 B
Plaintext
A Ruby library to run commands and control jobs like a shell
|