Log in
or
Log in with Facebook
Remember me
Sign up
Get started with App.net.
Sign up now
jws
That's fun:
NSFileHandle.readabilityHandler does NOT get called on EOF with an empty availableData,
[stackoverflow.com] so you've no way to tell you've drained the filehandle. NOT a replacement for readInBackgroundAndNotify. Awesome. :\
1
reply
0
reposts
1
star
There are
12 new posts
Reason for reporting post
Unwanted mention
Excessive posting
Explicit/offensive material
Marketing spam
Threats
jws
Switched to dispatch_io. Less code, and it actually works! Using a dispatch group to ensure stdout has been drained as well as process exited before delivering results to the completion block.