CocoaPods trunk is moving to be read-only. Read more on the blog, there are 19 months to go.
TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Dec 2014 |
Maintained by Marc Ransome.
MRWorker
is a tiny experimental Objective-C library intended 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];
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.