Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
Starting OS X apps using Darwin
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="haize" data-source="post: 9512"><p>Hi !</p><p></p><p>OSX (Cocoa) Applications are packages (folders) that contain lots of files.</p><p>The real programm file is in [application_u_want]/Contents/MacOS/[name_of_the_app_u_want]</p><p>I give u an example :</p><p>I wanna start Safari from the Terminal : i type :</p><p> /Applications/Safari.app/Contents/MacOS/Safari</p><p>This will launch the app as if u had clicked onto Safari.app</p><p>U can also exit the application by typing in the same term shell : Control-C</p><p></p><p>So u can write scripts to launch appz when u start ur comp... <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite2" alt=";)" title="Wink ;)" loading="lazy" data-shortname=";)" /></p></blockquote><p></p>
[QUOTE="haize, post: 9512"] Hi ! OSX (Cocoa) Applications are packages (folders) that contain lots of files. The real programm file is in [application_u_want]/Contents/MacOS/[name_of_the_app_u_want] I give u an example : I wanna start Safari from the Terminal : i type : /Applications/Safari.app/Contents/MacOS/Safari This will launch the app as if u had clicked onto Safari.app U can also exit the application by typing in the same term shell : Control-C So u can write scripts to launch appz when u start ur comp... ;) [/QUOTE]
Verification
Name this item. 🍎
Post reply
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
Starting OS X apps using Darwin
Top