Is there any way to have a process launched via NSTask access file descriptors 
opened in the parent process? Other than stdin, stdout & stderr.

It looks to me like the NSTask launching machinery may close descriptors, and I 
don't see a way to control that. The descriptors in question do return 0 from 
fcntl(desc, F_GETFD...). At least, when I try to write to one from the child 
process, I get EBADF.

-- 
Scott Ribe
[email protected]
http://www.elevated-dev.com/
(303) 722-0567 voice




_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to