Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Calling UNIX command from Cocoa




On Oct 17, 2008, at 00:08, Bill Bumgarner wrote:

On Oct 16, 2008, at 3:03 PM, development2 wrote:
Yeah I know about NSTask, I just can't get it too work correctly.

NSTask is one heck of a lot easier to use than any of the lower level calls except, maybe, popen().

It took me also quite a while to get it working properly. Most examples were just too simplistic.


By no means saying this is perfect ....but it seems to work:

 http://github.com/tcurdt/feedbackreporter/tree/master/Sources/Main/Command.m

cheers
--
Torsten
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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/email@hidden

This email sent to email@hidden
References: 
 >Calling UNIX command from Cocoa (From: development2 <email@hidden>)
 >Re: Calling UNIX command from Cocoa (From: Ken Thomases <email@hidden>)
 >Re: Calling UNIX command from Cocoa (From: development2 <email@hidden>)
 >Re: Calling UNIX command from Cocoa (From: Bill Bumgarner <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.