{"id":19498041,"url":"https://github.com/marcransome/mrworker","last_synced_at":"2025-04-25T22:32:51.202Z","repository":{"id":12107348,"uuid":"14696539","full_name":"marcransome/MRWorker","owner":"marcransome","description":"A tiny Objective-C library for launching command-line programs and observing their output.","archived":false,"fork":false,"pushed_at":"2022-11-28T23:32:51.000Z","size":55,"stargazers_count":14,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-10-11T18:03:51.328Z","etag":null,"topics":["async-command","objective-c"],"latest_commit_sha":null,"homepage":"","language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/marcransome.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-11-25T19:52:38.000Z","updated_at":"2022-03-30T17:29:21.000Z","dependencies_parsed_at":"2022-09-13T20:30:47.553Z","dependency_job_id":null,"html_url":"https://github.com/marcransome/MRWorker","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcransome%2FMRWorker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcransome%2FMRWorker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcransome%2FMRWorker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcransome%2FMRWorker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marcransome","download_url":"https://codeload.github.com/marcransome/MRWorker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224019639,"owners_count":17242176,"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":["async-command","objective-c"],"created_at":"2024-11-10T21:49:04.191Z","updated_at":"2024-11-10T21:49:05.687Z","avatar_url":"https://github.com/marcransome.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MRWorker\n\n[![Build Status](http://img.shields.io/travis/marcransome/MRWorker.svg?style=flat)](https://travis-ci.org/marcransome/MRWorker)\n\n`MRWorker` is a tiny Objective-C library for running command-line programs asynchronously and observing their output.\n\nA simple example:\n\n```objc\nMRWorkerOperation *operation = [MRWorkerOperation workerOperationWithLaunchPath:@\"/bin/ls\" arguments:@[@\"-al\", @\"/\"] outputBlock:^(NSString *output) {\n    // buffer/process program output\n    ...\n} completionBlock:^(int terminationStatus) {\n    // respond to program termination\n    ...\n}];\n\n[[MRWorker sharedWorker] addOperation:operation];\n```\n\n## Project integration\nMRWorker can be integrated into a project using [CocoaPods](http://cocoapods.org). Add the following lines to your `Podfile`:\n\n```ruby\nplatform :osx, '10.9'\npod 'MRWorker'\n```\n\nThen install the dependency into your project:\n\n`$ pod install`\n\n## Contributions\nIf you would like to contribute to the project, [fork the repository](https://help.github.com/articles/fork-a-repo), make your code changes, then submit a [pull request](https://help.github.com/articles/using-pull-requests) with a brief description of your feature or bug fix.\n\n## License\n`MRWorker` is provided under the terms of the [MIT License](http://opensource.org/licenses/mit-license.php).\n\n## Contact\nEmail me at [marc.ransome@fidgetbox.co.uk](mailto:marc.ransome@fidgetbox.co.uk) or [create an issue](https://github.com/marcransome/MRWorker/issues).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcransome%2Fmrworker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarcransome%2Fmrworker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcransome%2Fmrworker/lists"}