Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: IPC (or how to "bounce" a running zsh?)
- X-seq: zsh-users 8314
- From: Oliver Kiddle <okiddle@xxxxxxxxxxx>
- To: Zsh users <zsh-users@xxxxxxxxxx>
- Subject: Re: IPC (or how to "bounce" a running zsh?)
- Date: Thu, 23 Dec 2004 10:01:01 +0100
- Cc: kynn@xxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
> 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