|
|
starting os X apps from command line
I just started using os X, after several years of using other versions of unix. Thus, I work from the command line most of the time and I'm trying to understand what the MacOS executables are doing so I can startup an app from the command line. I was able to run text edit from the line using
starting os X apps from command line
You're going too deep by referencing the raw exectuable inside the bundle. Just use the 'open' command and it will do what you need. E.g.:
starting os X apps from command line
Thanks!
starting os X apps from command line
I downloaded vim from this site and it worked fine. Launched using 'open -a vim' while the app is still in a folder on the Desktop and never having been in my Applications folder.
Is this the one your were having troubles with? If you want to use the X version of vim you will need to install XDarwin, but that doesn't seem necessary given the Carbonized version that is available from the above link.
And of course you could make an alias to that command in your shell if you'd like to make launching it a bit easier.
|
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.12 seconds |
|