Re: [dev] [st][PATCH] better plumbing on linux: find child shell cwd without shell gymnastics

From: Markus Wichmann <nullplan_AT_gmx.net>
Date: Thu, 1 Nov 2018 13:48:14 +0100

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