FAQ

On 2012/10/28 15:48:45, r wrote:
The file names are inappropriate now.
do you have suggestions for the filenames? i think executable is
a bit too long, and exec might confuse with the exec syscall.
how about the original execpath?
For Plan 9, it depends what you want this for. /proc/PID/text is
always a working name for the executable. Otherwise I don't know if
it's possible.
I've thought about /proc/PID/text, in fact it can pass the test, but
i think the main use of this to determine the original binary's path
so that the binary can access its bundled asset files, for example.

i'd also like to test we can indeed find the other files around the
binary, but given the current go test's behavior, this is difficult
to test.

https://codereview.appspot.com/6736069/

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 28 of 58 | next ›
Discussion Overview
groupgolang-dev @
categoriesgo
postedOct 23, '12 at 7:04p
activeNov 6, '12 at 7:35p
posts58
users10
websitegolang.org

People

Translate

site design / logo © 2022 Grokbase