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

Re: IPC (or how to "bounce" a running zsh?)



> Is there any mechanism for interprocess communication in which at
> least one of the processes is a running zsh?

You can use a signal and trap it from the running zsh:
  trap "source ~/.zshrc" USR1

Then just send the running zsh the USR1 signal. (kill -USR1).

In effect, signals are a simple form of communication. They are just
somewhat limited because you can't attach data when sending a signal.

Oliver



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