How do I programmatically open a folder in the Finder without selecting anything?
<p>When the user clicks a button in my application I want to have the Finder come to the front and display the contents of a folder. The <code>NSWorkspace</code> class has two calls, <code>activateFileViewerSelectingURLs(:)</code> and <code>selectFile(:inFileViewerRootedAtPath:)</code>, that almost do what I want, but they both select one or more items. I don't want the Finder to select anything. </p>

<p>I see the behavior I want if I enter</p>

<pre><code>/usr/bin/open /path/to/my/folder
</code></pre>

<p>in Terminal. Is there a Cocoa API for doing this, or do I need to have <code>NSTask</code> run <code>/usr/bin/open</code>?</p>