bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bash uses tmp files for inter-process communication instead of pipes


From: Greg Wooledge
Subject: Re: bash uses tmp files for inter-process communication instead of pipes?
Date: Tue, 7 Oct 2014 13:56:41 -0400
User-agent: Mutt/1.4.2.3i

On Tue, Oct 07, 2014 at 10:45:53AM -0700, Linda Walsh wrote:
>       I appreciate the options, but the option I want is the parent staying
> "put", and only sending children out to change dir's.  Say some new
> version of init wants to isolate init processes by putting them in their
> own dir and then deleting the dir.  As long as they don't cd out of the
> dir, they are fine, but if they do, they can't get back to it.
> 
>       Why can't I spawn a child that cd's into a dir and reports back what
> it finds in the dir?  I do this in perl or C w/no problem.

You are adding layers of non-negligible complexity to work around an
imaginary problem.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]