Re: [dev] [st][PATCH] better plumbing on linux: find child shell cwd without shell gymnastics
On Thu, Nov 01, 2018 at 09:33:37AM +0100, Quentin Rameau wrote:
> Hello John,
>
> > + DIR* srcdir = opendir("/proc/self/task");
>
> Is that a Linux‐only patch?
>
The subject line would indicate thus. Funnily enough, *that* dependency
could be removed. What can't be removed is the dependency on
/proc/XXX/cwd. Is that available on whatever OS you care about (I know
it was one of the BSDs, just don't remember which)?
Ciao,
Markus
Received on Thu Nov 01 2018 - 13:48:14 CET
This archive was generated by hypermail 2.3.0
: Thu Nov 01 2018 - 14:00:08 CET