OS X - Operating System General OS operation information and support

Opening a second instance of an application


Post Reply New Thread Subscribe

 
Thread Tools
CarpentersKeys

 
Member Since: Mar 24, 2011
Posts: 1
CarpentersKeys is on a distinguished road

CarpentersKeys is offline
Hai, first post. Pretty new to my macbookpro but liking it so. My first mac computer.

My question; is it possible to open a second instance of an application to run alongside the original instance or is this something the OS can't do? I've done it multiple times on my previous computer, a linux and I know mac is linux based so I don't see why it wouldn't be possible.

Thanks in advance.
QUOTE Thanks
Raz0rEdge

 
Raz0rEdge's Avatar
 
Member Since: Jul 17, 2009
Location: MA
Posts: 5,786
Raz0rEdge has much to be proud ofRaz0rEdge has much to be proud ofRaz0rEdge has much to be proud ofRaz0rEdge has much to be proud ofRaz0rEdge has much to be proud ofRaz0rEdge has much to be proud ofRaz0rEdge has much to be proud ofRaz0rEdge has much to be proud ofRaz0rEdge has much to be proud of
Mac Specs: 27" i7 iMac with 16GB RAM and 1TB HDD, iPhone 3G & 4, iPod Nano 16GB, iPod Shuffle, iPad 2 16GB WiFi

Raz0rEdge is offline
Mac is not Linux based..it's based on a BSD Kernel..so it's more Unix than Linux..but anyway..

Which application are you trying to run multiple instances of? This might be more a limitation of the application than the OS. The application might be telling you that you already have it running so why are you running a second copy, you can try to open a new window or whatever in the application as opposed to running an entire new instance..

Regards
QUOTE Thanks
Slydude

 
Member Since: Nov 15, 2009
Location: North Louisiana, USA
Posts: 3,875
Slydude has much to be proud ofSlydude has much to be proud ofSlydude has much to be proud ofSlydude has much to be proud ofSlydude has much to be proud ofSlydude has much to be proud ofSlydude has much to be proud ofSlydude has much to be proud ofSlydude has much to be proud of
Mac Specs: 2.8 GHz MacBook Pro 10.8,3 8 GB mem, 2.66 GHz Mac Pro - Dead, iPhone 4

Slydude is online now
I have had multiple instances of programs open before. Generally that works best if you have the app installed more than once. For instance I have MPEG Streamclip on the boot drive but also have a copy on a clone of my system. it's possible to have both open simultaneously. It works for several other apps as well.

Sylvester Roque Former Contributing Editor About This Particular Macintosh

No matter what time it is where I am it's early morning somewhere in the world. At that hour of the morning follow my advice at your own risk. Anything sounds good before your first cup of coffee
QUOTE Thanks
vansmith

 
vansmith's Avatar
 
Member Since: Oct 19, 2008
Location: Ottawa
Posts: 15,279
vansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond repute
Mac Specs: 2012 13" MBP (2.5 i5, 8GB)

vansmith is offline
You sure can but it's not exactly straightforward. Open up Terminal and execute the following:
Code:
/Applications/<app name.app>/Contents/MacOS/<bin name> &
Replace <app name.app> with the app name and <bin name> with the name of the binary in that folder. So, for instance, if I wanted to open up two instances of MacVim, I would execute the following command twice:
Code:
/Applications/MacVim.app/Contents/MacOS/MacVim &
This won't work for all applications for one of two reasons (I can only think of two reasons right now):
1. Not all binaries are named after the application. For instance, the binary for Firefox is called firefox-bin. Most applications are like MacVim above - the bin name is the same as the app bundle.
2. Some applications don't allow multiple instances such as Firefox.

Even though you can do this, you're better doing what Raz0rEdge suggested - open multiple windows instead.

Important Links: Community Guidelines : Use the reputation system if you've been helped.
M-F Blog :: Write for the blog :: M-F IRC Channel - Chats every Sunday at 8PM EST.
QUOTE Thanks
ovbg

 
Member Since: Jun 22, 2010
Posts: 126
ovbg is on a distinguished road

ovbg is offline
Some applications do have that option, or at least it appears to have separate instances open.

In Finder, go to the menu: File>New Finder Window
In Firefox, File>New Window

etc.

Not all programs have this and you may need the terminal commands provided above.
QUOTE Thanks
mareoraft

 
Member Since: Jul 16, 2011
Posts: 10
mareoraft will become famous soon enough

mareoraft is offline
The following is slightly simpler. Let's say I wanted to open the application Preview.

Open Terminal, type the command
Code:
open -na Preview


Explanation: The -n option is for "new" or "new instance". The -a option tells your computer you are opening an application, so that the path (usually /Applications/) and the extensions (.app) are no longer needed.

QUOTE Thanks

Post Reply New Thread Subscribe


« iMac on OS 10.4.11: password prob w PPPoE | Wont copy large file error code 0 »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Server Error in '/' Application jrstone OS X - Operating System 0 03-27-2010 03:43 AM
Mac Pro ---- Overkill for 3D application? ttaylor37 Images, Graphic Design, and Digital Photography 6 03-09-2010 04:43 PM
Lost I photo application firesidedog OS X - Apps and Games 0 02-04-2010 09:13 AM
Does pushing the red gel button really close the application? Jaygray Switcher Hangout 10 03-08-2008 09:33 AM
Application has to be transferred in a .sit Aikinai Switcher Hangout 4 10-18-2005 10:19 PM

All times are GMT -4. The time now is 06:00 AM.

Powered by vBulletin
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?