Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.