{"id":16956982,"url":"https://github.com/jgraichen/multi_process","last_synced_at":"2025-09-11T10:43:43.241Z","repository":{"id":13263729,"uuid":"15948980","full_name":"jgraichen/multi_process","owner":"jgraichen","description":"Some experiments to handle multiple processes running parallel and their output.","archived":false,"fork":false,"pushed_at":"2025-04-07T13:07:20.000Z","size":90,"stargazers_count":0,"open_issues_count":3,"forks_count":1,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-07T14:24:13.344Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jgraichen.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2014-01-15T21:28:08.000Z","updated_at":"2025-02-17T06:29:02.000Z","dependencies_parsed_at":"2024-01-12T20:33:15.646Z","dependency_job_id":"bafe51c9-2698-4e0f-bd03-e4b36c7e1512","html_url":"https://github.com/jgraichen/multi_process","commit_stats":{"total_commits":31,"total_committers":5,"mean_commits":6.2,"dds":0.5161290322580645,"last_synced_commit":"e09bd23db39b0b725663ced9eecd0bfe0cafd9bf"},"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jgraichen%2Fmulti_process","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jgraichen%2Fmulti_process/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jgraichen%2Fmulti_process/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jgraichen%2Fmulti_process/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jgraichen","download_url":"https://codeload.github.com/jgraichen/multi_process/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248487510,"owners_count":21112187,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-13T22:16:33.387Z","updated_at":"2025-04-11T21:44:30.757Z","avatar_url":"https://github.com/jgraichen.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MultiProcess\n\nRun multiple processes.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'multi_process'\n```\n\nAnd then execute:\n\n```console\nbundle\n```\n\nOr install it yourself as:\n\n```console\ngem install multi_process\n```\n\n## Usage\n\n```ruby\nreceiver = MultiProcess::Logger $stdout, $stderr, sys: false\ngroup = MultiProcess::Group.new receiver: receiver\ngroup \u003c\u003c MultiProcess::Process.new %w[ruby test.rb], title: 'rubyA'\ngroup \u003c\u003c MultiProcess::Process.new %w[ruby test.rb], title: 'rubyB'\ngroup \u003c\u003c MultiProcess::Process.new %w[ruby test.rb], title: 'rubyC'\ngroup.start # Start in background\ngroup.run   # Block until finished\ngroup.wait  # Wait until finished\ngroup.stop  # Stop processes\n```\n\n```text\n(23311) rubyB | Output from B\n(23308) rubyA | Output from A\n(23314) rubyC | Output from C\n(23314) rubyC | Output from C\n(23311) rubyB | Output from B\n(23308) rubyA | Output from A\n```\n\n## Contributing\n\n1. Fork it (http://github.com/jgraichen/multi_process/fork)\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n\n## License\n\nCopyright © 2019-2023 Jan Graichen\n\nThis program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program.  If not, see \u003chttp://www.gnu.org/licenses/\u003e.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjgraichen%2Fmulti_process","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjgraichen%2Fmulti_process","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjgraichen%2Fmulti_process/lists"}