Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

I can open an application using open, like this:

open ./

But this doesn't display the application's debug printouts - which I need.

If I locate the binary inside the package manually and run that, I get the printouts fine, but I want to be able to just run the application.

share|improve this question
So you don't want to just run the executable backgrounded from bash to see the output? I'm not sure that there's any other way to do this, the .app package is a proprietary Apple design that Bash wouldn't be personally aware of. – jcrawfordor Jun 3 '11 at 3:13
I want the application to run hidden but must also use cocoa. This works fine if I set "Application is agent" in the plist file and run it as an actual application. If I just run the binary directly, it doesn't run hidden and displays the dock+menu components. – Matt Jun 3 '11 at 3:48
Actually if I run the binary by specifying the path rather than cd-ing to it, it works fine. Cool. – Matt Jun 3 '11 at 3:53
up vote 0 down vote accepted

The solution is to specify the absolute path of the application, rather than the path relative to the current directory.

For example,
open /home/matt/

share|improve this answer
This shouldn't make any difference. – Daniel Beck Feb 1 '12 at 16:26

Your Answer


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.