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/MacOS/TextEdit
in Terminal, TextEdit opens in the background. This is quite annoying if you're using "make && ./run" when developing GUI applications.