Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

auto-exec on last command



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)



Messages sorted by: Reverse Date, Date, Thread, Author