• 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
interactive command line apps
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

interactive command line apps


  • Subject: interactive command line apps
  • From: Andrew Bush <email@hidden>
  • Date: Tue, 27 Sep 2005 16:04:21 +1200

Hi all,

is there some standard way to write a cocoa cli app that can be run, and then accepts input via stdin, acts on it, and accepts further input and so on?

or is it just as simple as putting a 'while 1' loop around the call to stdin?

oh...I also need to have sockets doing stuff in the background of this same app, if its just a while loop, do I need to make any special calls to ensure that all the background tasks are doing their stuff?


thanks for any help.


Yours cheerfully,


Andrew Bush

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: interactive command line apps
      • From: Sherm Pendley <email@hidden>
  • Prev by Date: Re: NSTextInput, multi-character marks, and the cursor position
  • Next by Date: [Q] Garbage strings appened to a string
  • Previous by thread: Using NSApplicationDefined events
  • Next by thread: Re: interactive command line apps
  • Index(es):
    • Date
    • Thread