Path: | README.md |
Last Update: | Sat Feb 23 07:12:52 +0000 2019 |
# Spawn for Legacy
![demo]()
Kernel.spawn in ruby 1.9 solves all issues on asynchronous executions[[1]](http://ujihisa.blogspot.com/2010/03/how-to-run-external-command.html)[). But ruby 1.8, the legacy version of MRI, is still used on many environments.
This library provides `spawn()` which is almost perfectly compatible with ruby 1.9‘s. This library is pure ruby; you don‘t need to build it.
## Install
gem install sfl
## How to use
require 'rubygems' require 'sfl' spawn 'ls'
If your ruby is 1.9, `require ‘sfl’` doesn‘t do anything. If your ruby is 1.8, that defines `spawn`.
## How compatible this spawn is?
(I‘ll put the coverage here later)
## Misc.
## Supports
Currently there are no supports on:
## Authors
Tatsuhiro Ujihisa <ujihisa.blogspot.com/>
Bernard Lambeau <revision-zero.org/>
Kenta Murata <mrkn.jp/>