{"id":17244834,"url":"https://github.com/ujihisa/tasks","last_synced_at":"2025-04-14T04:08:48.943Z","repository":{"id":634786,"uuid":"275885","full_name":"ujihisa/tasks","owner":"ujihisa","description":"This project is no longer active. See open5 instead. http://github.com/ujihisa/open5","archived":false,"fork":false,"pushed_at":"2010-02-03T23:55:33.000Z","size":76,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-14T04:08:30.713Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ujihisa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2009-08-12T08:28:59.000Z","updated_at":"2014-04-16T23:23:00.000Z","dependencies_parsed_at":"2022-07-07T13:40:37.937Z","dependency_job_id":null,"html_url":"https://github.com/ujihisa/tasks","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ujihisa%2Ftasks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ujihisa%2Ftasks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ujihisa%2Ftasks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ujihisa%2Ftasks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ujihisa","download_url":"https://codeload.github.com/ujihisa/tasks/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248819404,"owners_count":21166477,"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-15T06:27:42.044Z","updated_at":"2025-04-14T04:08:48.924Z","avatar_url":"https://github.com/ujihisa.png","language":"Ruby","readme":"# Tasks -- Better Process Manager for Ruby\n\n![Traffic Control](http://farm4.static.flickr.com/3118/3204377933_8c978370db.jpg)\n\n## spawn\n\n`tasks` provides `spawn` even in ruby 1.8.\n\n    require 'tasks'\n    include Tasks\n\n    pid = spawn './something.rb'\n    ...\n    system \"kill #{pid}\"\n\n`spawn` is like system with `'\u0026'` and it also returns the procces id.\n\n## love_pact\n\n`tasks` supports a couple to do a love pact.\n\n    require 'tasks'\n    include Tasks\n\n    master_pid = spawn './master.rb'\n    slave_pid = spawn './slave.rb'\n\n    fork do\n      love_pact master_pid, slave_pid\n    end\n\nIf a master died, the slave dies immediately.\n\nNote that now `love_pact` works only in UNIX.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fujihisa%2Ftasks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fujihisa%2Ftasks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fujihisa%2Ftasks/lists"}