Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
What is distinct about exec of a builtin?
- X-seq: zsh-users 23595
- From: Sebastian Gniazdowski <sgniazdowski@xxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: What is distinct about exec of a builtin?
- Date: Fri, 31 Aug 2018 11:13:10 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=QuXLrTrNoz3Fur4N/VPhnq3uKAJOO9g39HfJguikKMA=; b=CUoxys1Y/hGPH+H4W0psKmSwnBCS0w5uTAVL6IOFda1FcIZ7k56twfXrGahhBVS17p GAB47OXheBNp1sqRRV6rE54Y1oeSHCQX68UE74sW/fwMB7GrKqv8szKRMiJal/7d28iM eg88t5UfK4300QB5EzZbzQu4GlPcfQUyKnMCJ6KjP7gsM4M37Z2FNAlngEPle3/LjdUK 5jXGdAxAcVX36BOTUUR6BJ9RVpPr75S/CN58mDyEuQRkHwqC7dG9oVZJ4ER/XSIYpK3d W7ofyaom+JzeccHpNbL9Rb/Vqyb88OlFxr9Fa9m0+6ItNdONc0FQyrGrQws0fGALBFT9 ++Ww==
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- List-unsubscribe: <mailto:zsh-users-unsubscribe@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
Hello,
reading the source I've noted that one can exec builtin. Tested `exec
type -w run-help`, it worked and shell quickly exited. I wonder what
can this functionality be used for? Is there anything distinct about
exec'ing a builtin?
--
Sebastian Gniazdowski
News: https://twitter.com/ZdharmaI
IRC: https://kiwiirc.com/client/chat.freenode.net:+6697/#zplugin
Blog: http://zdharma.org
Messages sorted by:
Reverse Date,
Date,
Thread,
Author