zsh-workers
 help / color / mirror / code / Atom feed
* auto-exec on last command
@ 2011-08-21 21:33 Jörg Sommer
  2011-08-22  0:59 ` Bart Schaefer
  2011-08-28 15:54 ` Peter Stephenson
  0 siblings, 2 replies; 4+ messages in thread
From: Jörg Sommer @ 2011-08-21 21:33 UTC (permalink / raw)
  To: zsh-workers

Hi,

is it possible to advice zsh to replace its process (with exec) with the
process of the last command? I have many processes running they only
spawn the desired program. It would be more efficent to run these
processes with exec to don't keep the intermediat process of the shell.
Something like zsh -c 'setopt execlast; $myprog' or zsh -Xc '$myprog'
that runs the script 'exec $myprog'.

Regards, Jörg.
-- 
Wer eher stirbt ist länger tot.
                                                        (Un B. Kant)


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-08-28 15:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-21 21:33 auto-exec on last command Jörg Sommer
2011-08-22  0:59 ` Bart Schaefer
2011-08-22 21:33   ` Jörg Sommer
2011-08-28 15:54 ` Peter Stephenson

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).