Path: csiph.com!xmission!news.snarked.org!news.linkpendium.com!news.linkpendium.com!panix!usenet.stanford.edu!not-for-mail From: Dmitry Alexandrov Newsgroups: gnu.bash.bug Subject: Re: =?utf-8?B?4oCYY29tbWFuZCDigKYgJuKAmQ==?= creates subshell Date: Wed, 01 Jul 2020 00:43:14 +0300 Lines: 44 Approved: bug-bash@gnu.org Message-ID: References: <7dvoi92p.dag@gnui.org> <09ea84b2-4fb1-6b05-7c0b-fe6b2ab00c6f@archlinux.org> NNTP-Posting-Host: lists.gnu.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Trace: usenet.stanford.edu 1593553404 29550 209.51.188.17 (30 Jun 2020 21:43:24 GMT) X-Complaints-To: action@cs.stanford.edu Cc: bug-bash@gnu.org To: Eli Schwartz Envelope-to: bug-bash@gnu.org X-EA-Auth: EXhhDUTRoJkADPzBTPEoAaHVPxO5gIFEnNgGBUwdr2uD+jFrUE/2tDlQqeRrj6TBzrXiP5brTEz8I7fwdozhXuEPdYwkPnEx In-Reply-To: <09ea84b2-4fb1-6b05-7c0b-fe6b2ab00c6f@archlinux.org> (Eli Schwartz's message of "Tue, 30 Jun 2020 17:29:04 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) OpenPGP: id=525F7E60AD812C2361752BB4C8B0F8548EE7F3E7; url=https://openpgpkey.gnui.org/.well-known/openpgpkey/gnui.org/hu/hr4k5tkxm6shwdc18su4bkm34w3dctjd Mail-Copies-To: always Received-SPF: pass client-ip=213.182.54.5; envelope-from=dag@gnui.org; helo=relay-2.mailobj.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/30 16:37:37 X-ACL-Warn: Detected OS = Linux 3.1-3.10 X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: bug-bash@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports for the GNU Bourne Again SHell List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: X-Mailman-Original-References: <7dvoi92p.dag@gnui.org> <09ea84b2-4fb1-6b05-7c0b-fe6b2ab00c6f@archlinux.org> Xref: csiph.com gnu.bash.bug:16504 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Eli Schwartz wrote: > Useful replacements: Thank you. Yes, I have to pick up habit to post known user-level workaroun= ds along with bugreports. > If you need to ensure a disk executable is used, Of course. Why =E2=80=98command=E2=80=99 otherwise? > $ "$(type -P cat)" & > [1] 2092352 > $ ps --pid $! --ppid $! > PID TTY TIME CMD > 2092352 pts/42 00:00:00 cat Also: $ (exec cat) & [1] 31427 $ ps --pid $! --ppid $! PID TTY TIME CMD 31427 pts/3 00:00:00 cat Which, IIUC, is somewhat closer to what other shells do, though I cannot co= me up with any idea what practical difference it might make. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIMEARYIACsWIQRSX35grYEsI2F1K7TIsPhUjufz5wUCXvux8g0cZGFnQGdudWku b3JnAAoJEMiw+FSO5/PnAjQBAIQ5bwJkpWbOHXWaEbhgc6aet5UgcHB7MRfQUR6C ziACAP9zUb2oGqkXmOHm67NxudC1hnGIHfGv+H7PXOsg5cPjDA== =oCo+ -----END PGP SIGNATURE----- --=-=-=--