help-bash
[Top][All Lists]
Advanced

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

Re: [Help-bash] Different methods of running scripts; subshells and exec


From: Michael Convey
Subject: Re: [Help-bash] Different methods of running scripts; subshells and execute privileges
Date: Wed, 19 Aug 2015 07:28:53 -0700

​
On Wed, Aug 19, 2015 at 12:27 AM, Ken Irving <address@hidden> wrote:
>
> Not sure what the question is, but it sounds more like a general operating
> system one than anything or much to do with bash.


On Wed, Aug 19, 2015 at 5:51 AM, Greg Wooledge <address@hidden> wrote:

> What exactly are you trying to do?
>
>

​Thank you both for your explanations. I'm trying to understand the
difference between the script execution method using the 'exec'​

​command and using one of the standard methods, but the following
explanation is unclear to me:

​
"exec is not truly a script execution method. It does not create a subshell
but instead replaces the current shell with an *executable image
environment* to run the script."


reply via email to

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