[Top][All Lists]

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

Re: ‘command … &’ creates subshell

From: Eli Schwartz
Subject: Re: ‘command … &’ creates subshell
Date: Wed, 1 Jul 2020 11:31:45 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0

On 7/1/20 11:29 AM, Dmitry Alexandrov wrote:
> 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.

And in busybox, just like "env" it runs busybox builtin applets.

Eli Schwartz
Arch Linux Bug Wrangler and Trusted User

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

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