Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old May 21, 2006, 05:35 PM   #1
pacman7331
macrumors regular
 
Join Date: Apr 2006
Terminal

Forgive me for my stupidity...
But how does one from the terminal command line interface LAUNCH A APPLICATION!??!?

I type the name and it doesn't like that... I'm looking in my o'reilly book and it's also not helpful so far...

Anyone know how? seems pretty simple thing to do... I know how to kill and app but not how to "open" one
__________________
-Pacman

rMBP 2.7/16/512
pacman7331 is offline   0 Reply With Quote
Old May 21, 2006, 05:40 PM   #2
janey
macrumors 603
 
janey's Avatar
 
Join Date: Dec 2002
Location: sunny los angeles
"open"?

like,
Code:
open /Applications/Utilities/Disk\ Utility.app
opens Disk Utility for me.
__________________
iPad | 15" MacBook Pro | black (iPhone 3GS|MacBook) | Mac mini server
moof!

janey is offline   0 Reply With Quote
Old May 21, 2006, 05:45 PM   #3
pacman7331
Thread Starter
macrumors regular
 
Join Date: Apr 2006
fantastic .. (!) ok hah
__________________
-Pacman

rMBP 2.7/16/512
pacman7331 is offline   0 Reply With Quote
Old May 21, 2006, 08:50 PM   #4
mrichmon
macrumors 6502a
 
Join Date: Jun 2003
Quote:
Originally Posted by pacman7331
Forgive me for my stupidity...
But how does one from the terminal command line interface LAUNCH A APPLICATION!??!?
As another poster has pointed out, the "open" command does what you are asking for.

The more detailed answer is that most "commands" you enter at the command line, such as "open", "tar", "zip", "ls" are all executable programs.

An OS X application like Safari or DiskUtility are not executables. Instead, they are actually a folder that contains a specific structure and set of files inside the folder. The actual executable is stored in the Safari.app/Contents/MacOS/ folder. For DiskUtility, the actual executable is /Applications/Utilities/DiskUtility.app/Contents/MacOS/Disk Utility. You can run this executable directly, but the cleaner way is to use the "open" command.
mrichmon is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
Terminal command to move terminal window? hayduke Mac Programming 9 Aug 30, 2006 04:27 PM
Terminal is terminal skiff OS X 0 May 23, 2006 09:04 AM
run ssh on another terminal, from within terminal? dragonball05 Mac Basics and Help 1 Feb 24, 2006 04:21 PM
Switching from Mac OS X to the terminal (like XWindows to Terminal 2 in Linux/Unix) awulf Mac Help/Tips 1 Dec 6, 2002 08:27 PM
terminated terminal nicos Mac Help/Tips 6 Jul 6, 2002 05:32 AM


All times are GMT -5. The time now is 04:31 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC