From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3209 invoked from network); 26 Nov 2002 16:57:54 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 26 Nov 2002 16:57:54 -0000 Received: (qmail 5498 invoked by alias); 26 Nov 2002 16:55:58 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 5537 Received: (qmail 5386 invoked from network); 26 Nov 2002 16:55:44 -0000 Date: Tue, 26 Nov 2002 10:55:30 -0600 From: John Buttery To: zsh-users@sunsite.dk Subject: Re: exec problem Message-ID: <20021126165530.GA32232@io.com> Mail-Followup-To: zsh-users@sunsite.dk References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="k1lZvvs/B4yU6o8G" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i X-Files: The Truth is Out There X-Message-Flag: Outlook/Eudora users: This is an email with a standards-compliant crypto signature. Blame Microsoft/Qualcomm if they mangle it. X-PGP-Keyid: 0x587F0CD702368857 X-PGP-Fingerprint: 947F E6B0 EFBA D239 0881 50A0 587F 0CD7 0236 8857 --k1lZvvs/B4yU6o8G Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * x x [2002-11-26 13:31:25 +0000]: > In 4.0.4 when I issue an 'exec' and zsh can't find > the executable it simply terminates without warning. > This is surly not desirable behaviour. >=20 > [snip function to create a "safe" exec] >=20 > Shouldn't this be builtin? My gut feeling is that zsh's behaviour in this regard is correct, since I always thought there was a core belief (among UNIX software in general, not just zsh) that the software should "do what I say, exactly as I say, and not second-guess me". However, having said that, I think your function is quite useful and that a lot of people will like/use it (possibly myself included). Thanks for taking the time to write it. :) --=20 ------------------------------------------------------------------------ John Buttery Fascism should more appropriately be called Corporatism because it is a merger of state and corporate power. Benito Mussolini (Web page temporarily unavailable) ------------------------------------------------------------------------ --k1lZvvs/B4yU6o8G Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (GNU/Linux) iD8DBQE946eCWH8M1wI2iFcRAnUlAJwLUngWeutV4Rx55wGA3am28guMgwCeOfNb /1iRaY3kOqPE1WLjZW9UG5U= =HD2P -----END PGP SIGNATURE----- --k1lZvvs/B4yU6o8G--