How can I get the current path of my .app that is running in a cocoa mac application?
I tried using NSTask to execute pwd but returned me /
I found it using [[NSBundle mainBundle] bundlePath]