[Openmcl-devel] Mac portability
Chris Hanson
cmhanson at eschatologist.net
Tue Jun 21 09:58:57 PDT 2016
On Jun 21, 2016, at 9:45 AM, Tim Bradshaw <tfb at tfeb.org> wrote:
>
>> On 21 Jun 2016, at 15:37, Gary Byers <gb at clozure.com> wrote:
>>
>> How does the original poster run an application bundle from the Terminal ?
>
> Isn't this just 'open'? That's how I run almost everything on the mac.
You can use /usr/bin/open, which tells Launch Services to start the application, or you can directly execute the application's executable within the bundle:
$ ./MyApp.app/Contents/MacOS/MyApp
That has the advantage of the application's standard I/O going to the terminal.
-- Chris
More information about the Openmcl-devel
mailing list