• 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: NSTask interaction
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTask interaction


  • Subject: Re: NSTask interaction
  • From: Max Horn <email@hidden>
  • Date: Sun, 18 Nov 2001 23:04:28 +0100

At 13:10 Uhr -0500 18.11.2001, Michael Mulligan wrote:
Hello all

I am fairly new to Cocoa so I apologize for my stupid question in advance. ;-)

I am trying to make something of a command line tool wrapper as my first real project. However, I am having trouble as I am not sure if I am expecting too much of an NSTask. As I understand, when you run an NSTask, you can only pass it arguments once, correct? My problem is that I need to further interact with the task--I don't want it to simply end. I want to keep passing it data and getting the output into an NSString for parsing. I am under the impression that an NSPipe comes into play, but I am really confused about all of this. Is this possible and if so, how would I do it?

Thanks in advance! :-)

Check out these two:

http://www.cocoadevcentral.com/tutorials/showpage.php?show=00000017.php
http://www.cocoadevcentral.com/tutorials/showpage.php?show=00000024.php



Max
--
-----------------------------------------------
Max Horn
Software Developer

email: <mailto:email@hidden>
phone: (+49) 6151-494890


  • Follow-Ups:
    • Re: NSTask interaction
      • From: Ben Hines <email@hidden>
References: 
 >NSTask interaction (From: Michael Mulligan <email@hidden>)

  • Prev by Date: Re: Standard OS X Compression format
  • Next by Date: Re: NSTask interaction
  • Previous by thread: NSTask interaction
  • Next by thread: Re: NSTask interaction
  • Index(es):
    • Date
    • Thread