Project

sproc

0.0
No release in over 3 years
Easier invokation of asynch/synch commands with a reasonable easy and flexible interface for processing stdout and stderr
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 5.1
 Project Readme

SProc

Build Status

Provides a higher level interface than popen3 for execution of, and waiting on, commands in subprocesses.

Important
Work-in-progress

Installation

Add this line to your application’s Gemfile:

gem 'sproc'

And then execute:

$ bundle install

Or install it yourself as:

$ gem install sproc

Usage

See test/usage_ex_test.rb for some usage examples.

Development

  • install ruby (>=v2.7) and bundler

  • clone the repo

  • run bin/setup to install dependencies.

  • run bundle exec rake test to run the tests.

You can also run bin/console for an interactive prompt that will allow you to experiment.

Contributing

TBD…​

License

The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT.

Code of Conduct

Everyone interacting in the Sproc project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/rillbert/sproc/blob/master/CODE_OF_CONDUCT.adoc).