On Wed, Aug 24, 2016 at 02:52:01PM -0400, Adam Danischewski wrote:
> When a parent script kicks off a child process, and the child process reads
> from fd0 I don't expect the child to be capable of manipulating the parents
> pipe data on fd0. An error potentially but not quietly eating up the
> parents fd0 pipe data. This seems to be violating a basic tenet.

Children inherit their parents' standard input.  This kind of contention
between processes for the input happens *all the time* if you don't
carefully avoid it.

http://mywiki.wooledge.org/BashFAQ/089 gives some examples, and some
workarounds.

Reply via email to