Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Need help creating a test release
2025-04-14 16:34:58 -0400, Eric Cook:
[...]
> tentative NEWS patch, if anyone wants to review or add to it.
[...]
> +The parameter ZSH_EXEPATH expands to the full path of the current zsh
> +process, reliably on Linux, Mac, {Net,Free,Dragonfly}BSD and falls
> +back to argv[0] elsewhere.
[...]
One note:
"path of a process" doesn't make much sense to me unless you
mean /proc/<pid>. Is it the "path of the zsh executable
currently being run by the process interpreting the code" or
"the path (as it was passed to execve? or an absolute path or
the canonical absolute path...?) of the file last executed by
the process of id $$"?
--
Stephane
Messages sorted by:
Reverse Date,
Date,
Thread,
Author