Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: exec
- X-seq: zsh-users 29985
- From: Ray Andrews <rayandrews@xxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: exec
- Date: Mon, 3 Jun 2024 08:22:59 -0700
- Archived-at: <https://zsh.org/users/29985>
- In-reply-to: <CAA=-s3zd8zunKBgkVUvUUt76pBq=SAsh-mR1W=Ej2OVvRbVH5A@mail.gmail.com>
- List-id: <zsh-users.zsh.org>
- References: <2bb9cec5-1293-4103-a73c-fd2a190cb65d@eastlink.ca> <CAA=-s3xr_GoeqRRAf+UBQQR8NiOz_Sy6=456SeAq1-+ens1rZA@mail.gmail.com> <aa551662-225c-44b4-8449-d56bd05cef7d@eastlink.ca> <CAA=-s3zd8zunKBgkVUvUUt76pBq=SAsh-mR1W=Ej2OVvRbVH5A@mail.gmail.com>
On 2024-06-03 07:54, Mark J. Reed wrote:
Exec has the same impact on the shell as exit - shell go bye bye - it
just leaves another program in its place.
So I see. So it's not just a question of a script removing itself from
memory at the point where control passes, it's 'exit' as we see. Still,
the question of who gets control is there -- the computer does not shut
off. But again, that question would be there anyway so 'exec' doesn't
make the question any more difficult. I guess as far as zsh is
concerned that's as much as can be said.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author