From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: from zero.zsh.org (zero.zsh.org [IPv6:2a02:898:31:0:48:4558:7a:7368]) by inbox.vuxu.org (Postfix) with ESMTP id 52ED32899F for ; Mon, 3 Jun 2024 17:23:33 +0200 (CEST) ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1717428213; b=h9GEJaIJQnZUzhQRX7B1kB8vNqN4lIS2pCMuO1FTVyAm0CR0QytiTpwvzabQXihw5zb+bw0D0I pommGmytclnYFPxJQ7a7nIgsUwH6F1qX7Ptp0MXkxTpxZqRlLIqpoSWye57m26+vFyGpqlfn7s yH571ImHE9ErolLSniT4b+d1wNohlwxQ9PWvYBr70pz/Urr7w55c7A9x9x2NNv8JOZr2Zb648P aSeQqpbDZm8ADOYsLcNfFDGMuxlEzb7cAgDzy/CzwLyaAm3UWV2GMFex3JJYrIT9JYYuHmguFW cMmhqG1cylDqn0QDaWpvzVl4HuFGGToF+l8b4n71I5mHvA==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mta03.eastlink.ca) smtp.remote-ip=24.224.136.9; dmarc=none header.from=eastlink.ca; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1717428213; bh=bu7986RVx/ReOpSi4lWnBMtG8adYbQdE8gDf8OKGtXU=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Transfer-Encoding:Content-Type:In-Reply-To:From: References:To:Subject:MIME-Version:Date:Message-ID:DKIM-Signature; b=KI6wUhuQojW+xqnvGiZpdAhu4SB/pSi740y5PcvboF8w4MvZGMdEVjzRV4S8Dn2c9H4hUKm6+h QOQ1GZ8j4iNAZS/rcZiCHQpVWSHNH3+xcygbfwW3qwq0uYEk4usUulu2WxpvTYAYvyDeUWmTxr IySVHLp8woxOzj6S9sPCls9SCtXVV/zH6z+k+wnOqmrO5H7ffvxD+ladpdHKr3dwkaPKH6mg/P +6tTBfm/sFhu/LFJNTPigEQYe1yQiYQGgR41o2YXfXIEW4g8T2xzHHoTflNvVHpSxeqLwsMO1e iuAgMhsy5pc6nGPFbDmVcYOoAK1vh2Wf7dxfMibw36/Wkg==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-transfer-encoding: Content-type:In-reply-to:From:References:To:Subject:MIME-version:Date: Message-id:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From :Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=zj+9XwaRey0+bCkRJLeyEB3JyBn/sNEv3qJtgH0WiEU=; b=F9v3F4hrI30g1fjKP4dzURzjJz uISnoJa9eieQbvxm68jsrz60sauDEEDHXp6qtt8xhma0kPuqbCJjTIa1RLLW2XFz2nr4G/huF4Zss vH8kYA1Nssrbaqtt6fB7HeDTjDz2g3EqvTlfwZVeoN0g+iifQVpX4BXq0As979uTP5binWmaqmJMi QXLyfikzinhBoaNpiH4rXm9usiZyJf0oA7aIAz+tZNZIJeHXM281HTzkDmaHX44hyT1F/3+H6cz0T wEVUEGNYtaLJbcYzgahKVmIBZYzb0JmGG+FetwlA2+13vFD8AlOYYsv+BGV1NavJTX1ko4vEQQkJO mt3HCX+Q==; Received: by zero.zsh.org with local id 1sE9X3-0006xf-6s; Mon, 03 Jun 2024 15:23:33 +0000 Authentication-Results: zsh.org; iprev=pass (mta03.eastlink.ca) smtp.remote-ip=24.224.136.9; dmarc=none header.from=eastlink.ca; arc=none Received: from mta03.eastlink.ca ([24.224.136.9]:51603) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1sE9WX-0006Dk-IL; Mon, 03 Jun 2024 15:23:02 +0000 Received: from csp01.eastlink.ca ([71.7.199.166]) by mta03.eastlink.ca ([24.224.136.9]) with ESMTPS id <0SEI0VPNSFOHI1B0@mta03.eastlink.ca> for zsh-users@zsh.org; Mon, 03 Jun 2024 12:23:00 -0300 (ADT) Received: from [192.168.0.15] (host-24-207-19-13.public.eastlink.ca [24.207.19.13]) by csp01.eastlink.ca ([71.7.199.166]) with ESMTPSA id E9WVsG4w5LngTE9WVskfLI (version=TLSv1_2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256); Mon, 03 Jun 2024 12:23:00 -0300 X-Authority-Analysis: v=2.4 cv=V7be0vni c=1 sm=1 tr=0 ts=665ddfd4 a=e7T7DzMKK1R988ZCg0wLyw==:117 a=e7T7DzMKK1R988ZCg0wLyw==:17 a=IkcTkHD0fZMA:10 a=UxTqm1RxOAC-6fP-IuQA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 X-Vade-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvdelvddgkeejucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecugfetuffvnffkpffmpdfqfgfvnecuuegrihhlohhuthemuceftddtnecunecujfgurhepkfffgggfuffvfhfhjggtgfesthekredttddvjeenucfhrhhomheptfgrhicutehnughrvgifshcuoehrrgihrghnughrvgifshesvggrshhtlhhinhhkrdgtrgeqnecuggftrfgrthhtvghrnhepteffhffgvdeffeelveelhfegudevkeduhfehheevhfekhfevieehjeejheefvefgnecukfhppedvgedrvddtjedrudelrddufeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpedvgedrvddtjedrudelrddufedphhgvlhhopegludelvddrudeikedrtddrudehngdpmhgrihhlfhhrohhmpehrrgihrghnughrvgifshesvggrshhtlhhinhhkrdgtrgdpnhgspghrtghpthhtohepvddprhgtphhtthhopeerredprhgtphhtthhopeiishhhqdhushgvrhhsseiishhhrdhorhhgpdhgvghtqdgkihhprfgrshhsfigupehtrhhuvg X-Vade-Score: 0 X-Vade-State: 0 X-EL-AUTH: rayandrews@eastlink.ca Message-id: Date: Mon, 3 Jun 2024 08:22:59 -0700 MIME-version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: exec To: zsh-users@zsh.org References: <2bb9cec5-1293-4103-a73c-fd2a190cb65d@eastlink.ca> Content-language: en-US From: Ray Andrews In-reply-to: Content-type: text/plain; charset=UTF-8; format=flowed Content-transfer-encoding: 8bit X-Seq: 29985 Archived-At: X-Loop: zsh-users@zsh.org Errors-To: zsh-users-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-users-request@zsh.org X-no-archive: yes List-Id: List-Help: , List-Subscribe: , List-Unsubscribe: , List-Post: List-Owner: List-Archive: 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.