ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.


AddThis Social Bookmark Button
  PHP with Apple's Developer Tools
Subject:   Using 'open'
Date:   2002-12-04 07:20:58
From:   charlesa1
Response to: Using 'open'

With open(1), you don't need the full path to your application, so...

open -a Project\ Builder

.. will work just fine.

And with BBEdit, you don't need to define an alias, just install and use the bbedit(1) command-line tool provided by Bare Bones. It includes a number of helpful switches for doing things like creating or printing a file, leaving BBEdit in the background or waiting until BBEdit is done with the file (so you can almost use it as an $EDITOR replacement).