Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In terminal, the open -n ~/Applications/iTunes doesn't create a new instance of iTunes, just switches to the one already open. Why?

share|improve this question
up vote 1 down vote accepted

iTunes uses a database file to maintain a track of all the meta data on the contents of the iTunes library. Opening multiple instances of iTunes would potentially result in the 2nd instance being unable to gain the correct access to these files as they would be locked by the first instance.

OK, you can have multiple iTunes libraries (hold Option when starting to choose or create a new one), but this is a relatively edge case scenario, and even for users of this functionality, I cannot see many instances where it would be useful to have more than one open simultaneously. Playing 2 files at once would sound awful, and if you want to copy from one to another, you can still gain access to the files directly through the finder.

share|improve this answer
and how does the OS restrict this? – Marty Feb 6 '12 at 21:35
Not sure I understand your comment – stuffe Feb 6 '12 at 21:41
It doesn't have to be the OS, could also be iTunes itself which determines it's already running when started a second time. – patrix Feb 6 '12 at 22:10
I was going to suggest that it was the presence of the LSMultipleInstancesProhibited key set to true in the Info.plist inside the application bundle, but iTunes doesn't appear to have that set. Launch Services may hard-wired to to look for the CFBundleIdentifier and not allow a second instance. You could try changing that manually in a second copy of the app bundle to see if it allowed it to launch. But I'd make backup copies of your library database beforehand. :-) – NSGod Feb 7 '12 at 6:38
@stuffe I meant how does the OS restrict the user from opening a second instance. – Marty Feb 8 '12 at 0:44

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.