[Top][All Lists]

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

Re: ‘command … &’ creates subshell

From: Dmitry Alexandrov
Subject: Re: ‘command … &’ creates subshell
Date: Wed, 01 Jul 2020 18:29:46 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Robert Elz <kre@munnari.OZ.AU> wrote:
>   | > If you need to ensure a disk executable is used,
>   | Of course.  Why "command" otherwise?
> That doesn't actually work, "command" can run built-ins

Ah, yes, thanks for correction.

> there is actually no method ‹…› which guarantees execution of an executable 
> from an external file, other than by using the complete path name

Well, I am not sure whether itʼs guaranteed, but the ‘exec’ as above does 
execute an external command in GNU Bash.

Attachment: signature.asc
Description: PGP signature

reply via email to

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