Re: An app is born and more about the future of SWI's development tools

Jan Wielemaker <[email protected]>
Newsgroups gmane.comp.ai.prolog.swi
Message-ID <[email protected]>
Hi Paulo,

On 08/18/2013 03:25 PM, Paulo Moura wrote:
> My experience also, after running the goal above.
> 
> But there's other issue that may affect some users. Due to MacOS X
> specifies where GUI applications don't inherit the same environment
> as e.g. the command-line shells, SWI-Prolog applications that expect
> and require environment variables to be defined will not work. The
> same issue affects PDT but this tool provides a workaround in its
> preferences allowing users to specify environment variables for the
> GUI process.

... and you need environment variables for Logtalk?  From all my reading
in docs, I think you can set environment variables for an app in the
apps Info.plist.  Not sure there is a sensible UI for that.  The alternative
is to ask people to edit ~/.plrc (Settings/User init file) and add either
:- setenv(Var, Value) calls or :- create_prolog_flag/3 calls.

Would that do?  Alternatively, create a Logtalk.app :-)

	Cheers --- Jan
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.