Is there a way to bring GUI applications to the foreground when starting them from within Terminal on Mac OS X? If I run
/Applications/TextEdit.app/Contents/
At least for TextEdit and similar GUI apps, open will work:
> open /Applications/TextEdit.app