Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Every time I run gitk from a Mac OS X Terminal it opens in background. In other words, gitk is always shown behind the Terminal window.

Actually, gitk is the only tool manifesting this strange behavior. gitx, for example, correctly opens in foreground.

I tried with 3 different macs, all with OS X Lion and all of them have this problem. Strangely, googling I wasn't able to find any info about this.

I found an old post about a guy with the same problem, but I guess it's not the same root cause since the post itself claims the bug was fixed in 2009.

share|improve this question

In another SU thread they suggest:

  1. Create a one-line AppleScript:

    do shell script "/Users/me/dir/executable"

  2. Save As Application "MyScript.app" (without Startup Screen)

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .