Hello!
Is there any way to programmatically get absolute path of executable. During execution of this executable, i mean :) Something as reading /proc/pid/* in linux for current PID
Thank you!
Hello!
Is there any way to programmatically get absolute path of executable. During execution of this executable, i mean :) Something as reading /proc/pid/* in linux for current PID
Thank you!
I have no idea why you'd want to do this, but:
[[NSBundle mainBundle] executablePath];
should get you what you're after.