Latest 1.1.0
License MIT
Platforms osx 10.7, requires ARC

Build Status Version Platform

MRWorker is a tiny Objective-C library for running command-line programs asynchronously and observing their output.

A simple example:

MRWorkerOperation *operation = [MRWorkerOperation workerOperationWithLaunchPath:@"/bin/ls" arguments:@[@"-al", @"/"] outputBlock:^(NSString *output) {
    // buffer/process program output
} completionBlock:^(int terminationStatus) {
    // respond to program termination

[[MRWorker sharedWorker] addOperation:operation];

Project integration

MRWorker can be integrated into a project using CocoaPods. Add the following lines to your Podfile:

platform :osx, '10.9'
pod 'MRWorker'

Then install the dependency into your project:

$ pod install


If you would like to contribute to the project, fork the repository, make your code changes, then submit a pull request with a brief description of your feature or bug fix.


MRWorker is provided under the terms of the MIT License.


Email me at [email protected] or tweet @marcransome.

Latest podspec

    "name": "MRWorker",
    "version": "1.1.0",
    "summary": "Tiny Objective-C library for command-line program interaction.",
    "homepage": "",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    "authors": {
        "Marc Ransome": "[email protected]"
    "source": {
        "git": "",
        "tag": "1.1.0"
    "platforms": {
        "osx": "10.7"
    "source_files": "MRWorker/*.{h,m}",
    "exclude_files": [
    "requires_arc": true,
    "social_media_url": ""

Pin It on Pinterest

Share This