Make restart
IPC command send a reply once restart completed (!) (#3743)
This is achieved by retaining the IPC connection which is sending the restart command across the restart. This is the cleaner fix for https://github.com/i3/go-i3/issues/3 fixes #3565
This commit is contained in:
committed by
GitHub
parent
1eabe1b2b1
commit
e4ecc6e4a1
6
docs/ipc
6
docs/ipc
@ -111,6 +111,12 @@ The following reply types are implemented:
|
||||
|
||||
COMMAND (0)::
|
||||
Confirmation/Error code for the RUN_COMMAND message.
|
||||
+
|
||||
Note that when sending the `restart` command, you will get a reply once
|
||||
the restart completed. All IPC connection state (e.g. subscriptions)
|
||||
will reset, and libraries must be able to cope with it. One way of
|
||||
achieving that is to close the connection, if the library already
|
||||
supports transparent reconnects.
|
||||
WORKSPACES (1)::
|
||||
Reply to the GET_WORKSPACES message.
|
||||
SUBSCRIBE (2)::
|
||||
|
Reference in New Issue
Block a user