• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Calling UNIX command from Cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Calling UNIX command from Cocoa


  • Subject: Re: Calling UNIX command from Cocoa
  • From: Torsten Curdt <email@hidden>
  • Date: Fri, 17 Oct 2008 00:23:10 +0200


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:
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>)

  • Prev by Date: Re: Calling UNIX command from Cocoa
  • Next by Date: Re: [Moderator]Re: iPhone Development Mailing List
  • Previous by thread: Re: Calling UNIX command from Cocoa
  • Next by thread: Re: Calling UNIX command from Cocoa
  • Index(es):
    • Date
    • Thread