bug-bash
[Top][All Lists]
Advanced

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

Re: Why is this executed inside a subshell?


From: Paul Jarc
Subject: Re: Why is this executed inside a subshell?
Date: Mon, 27 Nov 2006 12:56:30 -0500
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.4 (gnu/linux)

"Com MN PG P E B Consultant 3" <mn-pg-p-e-b-consultant-3.com@siemens.com> wrote:
> But it seems that within a $(...), even shell functions are executed
> in a child process. Is this supposed to work that way?

Yes.  $() passes the output of the inner command to the outer shell
via a pipe, with the inner command running in a separate process.


paul




reply via email to

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