Pointer to minux codereview to do the restart on darwin

Change-Id: I077803b367b543f998d5d25026db2be477963bf8
This commit is contained in:
mpl 2012-11-15 18:57:53 +01:00
parent 3fe746e3aa
commit 0824bc7f7c
1 changed files with 2 additions and 1 deletions

View File

@ -40,7 +40,8 @@ func selfPath() (string, error) {
case "openbsd":
return "/proc/curproc/file", nil
case "darwin":
// TODO(mpl): shall we do the whole dance for darwin, which requires modifying the runtime as well, if I understood minux's work correctly?
// TODO(mpl): maybe do the right thing for darwin too, but that may require changes to runtime.
// See https://codereview.appspot.com/6736069/
return os.Args[0], nil
}
return "", errors.New("No restart because selfPath() not implemented for " + runtime.GOOS)