diff options
| author | Akinori MUSHA <knu@FreeBSD.org> | 2001-03-16 09:02:00 +0000 |
|---|---|---|
| committer | Akinori MUSHA <knu@FreeBSD.org> | 2001-03-16 09:02:00 +0000 |
| commit | f8eeebacaa1df7c7e243d4e5f77eacfdb9f42711 (patch) | |
| tree | 27de0aa6ad8374df9c06f838240488b2270cbe95 /misc | |
| parent | 0ef6a53da1a75a16261e1c66e2226aceb5992889 (diff) | |
Add ruby-shell, a Ruby library to run commands and control jobs like a
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
Diffstat (limited to 'misc')
0 files changed, 0 insertions, 0 deletions
