OSX Command line "-n" flag opens existing window before opening new window

Russell Keith-Magee 13 years ago 0
The OSX command line tool to open files/directories has a "-n" flag to open in a new window. However, using this flag will cause an existing open project window to be brought to the foreground.

To reproduce:
  1. Start ST2, open a project (say, P1)
  2. Minimize that project to the taskbar
  3. subn -n <P2 directory>

Window containing P1 is unminimized before the window for P2 is created.