Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #15213 > unrolled thread

Re: leaks fd for internal functions but not external command

Started byAndreas Schwab <schwab@suse.de>
First post2019-07-23 17:38 +0200
Last post2019-07-23 17:38 +0200
Articles 1 — 1 participant

Back to article view | Back to gnu.bash.bug

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: leaks fd for internal functions but not external command Andreas Schwab <schwab@suse.de> - 2019-07-23 17:38 +0200

#15213 — Re: leaks fd for internal functions but not external command

FromAndreas Schwab <schwab@suse.de>
Date2019-07-23 17:38 +0200
SubjectRe: leaks fd for internal functions but not external command
Message-ID<mailman.2083.1563896289.2688.bug-bash@gnu.org>
On Jul 23 2019, Sam Liddicott <sam@liddicott.com> wrote:

> It got closed in the parent. The lsof is running for the parent, the main
> process. /bin/echo has quit before the lsof runs.

When you run an external command the redirection is performed in the
child.

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."

[toc] | [standalone]


Back to top | Article view | gnu.bash.bug


csiph-web