Sha256: 12be0d66dbe6927553da3f3c5d6db7e5958b9eaa671f33d582def622999a33cd
Contents?: true
Size: 742 Bytes
Versions: 3
Compression:
Stored size: 742 Bytes
Contents
= syscmd A simple wrapper to execute system commands, which provides stdout, stderr and exit code. == Usage require 'syscmd' cmd = Syscmd.exec!('command') # => Syscmd::Command object cmd.stdout # => String cmd.stderr # => String cmd.exitcode # => Integer Note that <code>Syscmd.exec!</code> immediately executes the given command. You will get the Syscmd::Command object executed and can examine it. == Heritage/Acknoledgement The <code>Syscmd::popen</code> code is mostly taken from the original Ruby 1.8 implementation of Open3::open3 (author: Yukihiro Matsumoto: documentation: Konrad Meyer). == Copyright Copyright (c) 2009 Till Salzer. See LICENSE for details.
Version data entries
3 entries across 3 versions & 2 rubygems
Version | Path |
---|---|
tsalzer-syscmd-0.0.1 | README.rdoc |
tsalzer-syscmd-0.0.3 | README.rdoc |
syscmd-0.0.3 | README.rdoc |