Closed
Description
by lost.goblin:
It would be very useful to have a way to find the full path to the current executable. Not sure if this functionality should go in the os or runtime packages, and what would be a good name. os.Getpath() or os.Getexecpath() perhaps? For implementation details for most common platforms here is a good reference: http://stackoverflow.com/a/1024937/192583