PRHTask / PRHTask.m

Author Commit Message Labels Comments Date
Peter Hosey avatarPeter Hosey
Actually use the current directory if it's set. Oops.
Peter Hosey avatarPeter Hosey
Support passing an array for the first argument as well as any subsequent argument.
Peter Hosey avatarPeter Hosey
Implemented the environment property.
Peter Hosey avatarPeter Hosey
Implemented support for passing an array to the varargs construction method, and changed the test program to demonstrate and test this.
Peter Hosey avatarPeter Hosey
Fixed taskWithProgramName:arguments:, which had been omitting the name (oops) and first argument (double oops) and potentially going off the end of the argument list (triple oops).
Peter Hosey avatarPeter Hosey
Fixing a broken artifact of an earlier attempt to fix a since-fixed bug.
Peter Hosey avatarPeter Hosey
Avert a retain cycle. Thanks to Colin Barrett (@cbarrett) and Kevin Ballard (@eridius) for reminding me of this on Twitter.
Peter Hosey avatarPeter Hosey
Create our own NSFileManager rather than using defaultManager, as recommended by the docs since 10.5.
Peter Hosey avatarPeter Hosey
Switched from NSFileHandle/NSNotification-based reading to dispatch_source, actually hooked up the FDs, and added code to the test app to prove that accumulating output works.
Peter Hosey avatarPeter Hosey
Reimplemented NSTask from the ground up. The running-a-process part works; accumulating output, while implemented, doesn't yet.
Peter Hosey avatarPeter Hosey
Initial check-in of completed, but non-working, NSTask subclass. Fails because NSTask is really an abstract class, so we're not inheriting the implementations we need.
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.