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


Groups > gnu.bash.bug > #16512

Re: ‘command … &’ creates subshell

From Dmitry Alexandrov <dag@gnui.org>
Newsgroups gnu.bash.bug
Subject Re: ‘command … &’ creates subshell
Date 2020-07-01 18:45 +0300
Message-ID <mailman.770.1593618317.2574.bug-bash@gnu.org> (permalink)
References (4 earlier) <7dvoi92p.dag@gnui.org> <09ea84b2-4fb1-6b05-7c0b-fe6b2ab00c6f@archlinux.org> <2643.1593599092@jinx.noi.kre.to> <24624.1593615917@jinx.noi.kre.to> <k0znfddo.dag@gnui.org>

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Robert Elz <kre@munnari.OZ.AU> wrote:
> The whole point of trying to find a technique like was hoped for using command, and others have used env for, and still others, (exec command) (none of which are guaranteed to work) is so that the script will work with different shells and in different environments.

One could argue, that an ability to ignore builtin utilities actually adds nothing to applicability of a script to different (unknown a priory) environments.  On the contrary — it can rather break things.

Back to gnu.bash.bug | Previous | Next | Find similar


Thread

Re: ‘command … &’ creates subshell Dmitry Alexandrov <dag@gnui.org> - 2020-07-01 18:45 +0300

csiph-web