1
0
Fork 0
mirror of https://git.sr.ht/~rjarry/aerc synced 2025-02-23 07:53:59 +01:00
aerc/lib/ipc/handler.go
Jason Cox 4a0bb5d184 ipc: retry failed command directly, not over IPC
If IPC fails the first time we try it, we know that no other aerc
instance is running. When we retry, run the command directly instead of
going through the current instance's own IPC server.

Signed-off-by: Jason Cox <me@jasoncarloscox.com>
Acked-by: Robin Jarry <robin@jarry.cc>
2024-04-13 21:46:35 +02:00

5 lines
70 B
Go

package ipc
type Handler interface {
Command(args []string) error
}