https://github.com/ujihisa/spawn-for-legacy
spawn! spawn! spawn! spawn! spawn! spawn!
https://github.com/ujihisa/spawn-for-legacy
Last synced: about 21 hours ago
JSON representation
Repository metadata
spawn! spawn! spawn! spawn! spawn! spawn!
- Host: GitHub
- URL: https://github.com/ujihisa/spawn-for-legacy
- Owner: ujihisa
- License: other
- Created: 2010-03-07T22:00:40.000Z (almost 16 years ago)
- Default Branch: master
- Last Pushed: 2018-12-26T14:57:23.000Z (about 7 years ago)
- Last Synced: 2026-01-20T23:38:30.606Z (about 1 month ago)
- Language: Ruby
- Homepage:
- Size: 26.4 KB
- Stars: 19
- Watchers: 2
- Forks: 3
- Open Issues: 0
- Releases: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
README.md
Spawn for Legacy

Kernel.spawn in ruby 1.9 solves all issues on asynchronous executions[1][2].
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.
- At first I tried to use the name
spawnas this gem library name, but the name was already used. Thespawngem library does not mean ruby 1.9'sspawnat all. - Ruby 1.9's
open3library, based onspawn, is very useful. I would like to portopen3to ruby 1.8 in my future.
Supports
- (On MacOS) MRI 1.8.6, 1.8.7, 1.9.1, 1.9.2-rc2
- (On UNIX) MRI 1.8.6, 1.8.7, 1.9.1, 1.9.2pre
- (On Windows) MRI 1.9.1, 1.9.2pre
Currently there are no supports on:
- MRI 1.8 on Windows
- Other Ruby implementations such as JRuby, Rubinius and MacRuby
Authors
Tatsuhiro Ujihisa
http://ujihisa.blogspot.com/
Bernard Lambeau
http://revision-zero.org/
Kenta Murata
http://mrkn.jp/
Owner metadata
- Name: ujihisa
- Login: ujihisa
- Email:
- Kind: user
- Description:
- Website: http://ujihisa.wordpress.com
- Location: Vancouver, Canada
- Twitter:
- Company: Hootsuite / Fablic / Quipper
- Icon url: https://avatars.githubusercontent.com/u/11504?v=4
- Repositories: 395
- Last ynced at: 2024-05-01T10:39:49.952Z
- Profile URL: https://github.com/ujihisa
GitHub Events
Total
Last Year
Committers metadata
Last synced: 2 days ago
Total Commits: 53
Total Committers: 5
Avg Commits per committer: 10.6
Development Distribution Score (DDS): 0.509
Commits in past year: 0
Committers in past year: 0
Avg Commits per committer in past year: 0.0
Development Distribution Score (DDS) in past year: 0.0
| Name | Commits | |
|---|---|---|
| Bernard Lambeau | b****u@g****m | 26 |
| ujihisa | u****a@g****m | 21 |
| Kenta Murata | m****n@c****m | 4 |
| Diego Elio Pettenò | f****s@f****u | 1 |
| LAMBEAU Bernard | b****u@c****) | 1 |
Committer domains:
- cassidy.(none): 1
- flameeyes.eu: 1
- cookpad.com: 1
Issue and Pull Request metadata
Last synced: 11 days ago
Total issues: 2
Total pull requests: 4
Average time to close issues: 4 months
Average time to close pull requests: about 9 hours
Total issue authors: 2
Total pull request authors: 3
Average comments per issue: 4.0
Average comments per pull request: 1.75
Merged pull request: 4
Bot issues: 0
Bot pull requests: 0
Past year issues: 0
Past year pull requests: 0
Past year average time to close issues: N/A
Past year average time to close pull requests: N/A
Past year issue authors: 0
Past year pull request authors: 0
Past year average comments per issue: 0
Past year average comments per pull request: 0
Past year merged pull request: 0
Past year bot issues: 0
Past year bot pull requests: 0
Top Issue Authors
- irohiroki (1)
- graaff (1)
Top Pull Request Authors
- blambeau (2)
- Flameeyes (1)
- mrkn (1)
Top Issue Labels
Top Pull Request Labels
Package metadata
- Total packages: 2
-
Total downloads:
- rubygems: 80,814,676 total
- Total docker downloads: 54,013,440
- Total dependent packages: 8 (may contain duplicates)
- Total dependent repositories: 1,660 (may contain duplicates)
- Total versions: 14
- Total maintainers: 1
gem.coop: sfl
Spawn For Ruby 1.8
- Homepage: https://github.com/ujihisa/spawn-for-legacy
- Documentation: http://www.rubydoc.info/gems/sfl/
- Licenses: Ruby
- Latest release: 2.3 (published over 9 years ago)
- Last Synced: 2026-03-01T22:32:13.479Z (1 day ago)
- Versions: 7
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 40,409,185 Total
- Docker Downloads: 27,006,720
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 0.341%
- Downloads: 0.588%
- Docker downloads count: 0.776%
- Maintainers (1)
rubygems.org: sfl
Spawn For Ruby 1.8
- Homepage: https://github.com/ujihisa/spawn-for-legacy
- Documentation: http://www.rubydoc.info/gems/sfl/
- Licenses: Ruby
- Latest release: 2.3 (published over 9 years ago)
- Last Synced: 2026-02-28T12:03:21.260Z (3 days ago)
- Versions: 7
- Dependent Packages: 8
- Dependent Repositories: 1,660
- Downloads: 40,405,491 Total
- Docker Downloads: 27,006,720
-
Rankings:
- Downloads: 0.49%
- Dependent repos count: 0.766%
- Docker downloads count: 1.346%
- Dependent packages count: 2.044%
- Average: 5.262%
- Stargazers count: 11.854%
- Forks count: 15.072%
- Maintainers (1)
Dependencies
- rake ~> 0.9.2 development
- rspec ~> 2.6.0 development
- rake >= 0 development
- rspec >= 2.4.0 development
Score: 23.27340182662363