Open project from terminal

Discuss any general programming issues here

Open project from terminal

Postby sashapont » Sat Nov 04, 2017 10:24 pm

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
sashapont
 
Posts: 32
Joined: Thu Aug 03, 2017 2:49 pm

Re: Open project from terminal

Postby SamuraiCrow » Sun Nov 05, 2017 2:42 am

I think you need the full path within the Hollywood app bundle.
SamuraiCrow
 
Posts: 101
Joined: Fri May 15, 2015 5:15 pm
Location: Ft. Collins, Colorado USA

Re: Open project from terminal

Postby airsoftsoftwair » Mon Nov 06, 2017 8:51 pm

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! :)
User avatar
airsoftsoftwair
 
Posts: 2240
Joined: Fri Feb 12, 2010 3:33 pm
Location: Germany


Return to General programming

Who is online

Users browsing this forum: No registered users and 1 guest

cron