Open project from terminal

Discuss any general programming issues here
Post Reply
sashapont
Posts: 152
Joined: Thu Aug 03, 2017 2:49 pm

Open project from terminal

Post by sashapont »

How I can open project from terminal with debug windows in Mac OS

open -a /Applications/Hollywood.app "/Volumes/MacHD2/My/Hollywood/TEST_Program.hws"

Is not work
SamuraiCrow
Posts: 475
Joined: Fri May 15, 2015 5:15 pm
Location: Waterville, Minnesota USA

Re: Open project from terminal

Post by SamuraiCrow »

I think you need the full path within the Hollywood app bundle.
I'm on registered MorphOS using FlowStudio.
User avatar
airsoftsoftwair
Posts: 5433
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Open project from terminal

Post by airsoftsoftwair »

It's rather complicated. Blame Apple and their "fantastic" app bundle concept. Here's how to do it:

Code: Select all

$ Hollywood.app/Contents/Resources/HollywoodInterpreter.app/Contents/MacOS/Hollywood test.hws
Voila, now you'll get debug output directly into bash! :)
Post Reply