Latest 1.1.0
Homepage https://github.com/marcransome/MRWorker
License MIT
Platforms osx 10.7, requires ARC
Authors

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

Contributions

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.

License

MRWorker is provided under the terms of the MIT License.

Contact

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": "https://github.com/marcransome/MRWorker",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Marc Ransome": "[email protected]"
    },
    "source": {
        "git": "https://github.com/marcransome/MRWorker.git",
        "tag": "1.1.0"
    },
    "platforms": {
        "osx": "10.7"
    },
    "source_files": "MRWorker/*.{h,m}",
    "exclude_files": [
        "MRWorker/MRAppDelegate.{h,m}",
        "MRWorker/main.m"
    ],
    "requires_arc": true,
    "social_media_url": "https://twitter.com/marcransome"
}

Pin It on Pinterest

Share This