[newbie] Questions about NSTask and GUI/Shell (urgent help needed)
[newbie] Questions about NSTask and GUI/Shell (urgent help needed)
- Subject: [newbie] Questions about NSTask and GUI/Shell (urgent help needed)
- From: Afonso Salcedo <email@hidden>
- Date: Thu, 15 Aug 2002 16:49:48 +0100
I'm doing a GUI Cocoa application for Sicstus Prolog that runs in the
shell on MacOS X, for my MSc.
I managed to start Sicstus through my program, using NSTask and basing
my code on Moriarty.
But the way sicstus works means that I need to have some sort of
interactive task working, in the sense that while sicstus is running i
can use my GUI program to input prolog files to sicstus, perform
queries, etc...
As far as I know NSPipe is used to communicate between different tasks,
but I dont think that would help me in my case. Do i have to use
AppleScript to "simulate" everything for the user or can I do this
easily using NSTask in Cocoa?
I've been looking through the archives and other pages, but i havent
found examples about how to do a gui frontend to a complete shell
application such as sicstus...
thanks for all your help,
afonso
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.