interactive command line apps
interactive command line apps
- Subject: interactive command line apps
- From: Andrew Bush <email@hidden>
- Date: Tue, 27 Sep 2005 18:20:54 +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