Command complete packet - njb-said/Godfrey GitHub Wiki
The command complete packet
The command complete packet is sent by a server whenever a command is no longer blocking (aka. it has finished executing).
Packet type is: COMMANDCOMPLETE
Packet Layout
Within the data object you would have the following:
statusIdthis is the exit code the command. A zero exit code means a normal exit/termination, a non-zero code means an abnormal exit.commandthe command you executed (for identification purposes)hashIdthe unique identifier for this executiontimethe time the command signaled it's exit (milliseconds, divide by 1000 for seconds)
Packet Example
No realistic example available, this packet will be sent by the server after the command has finished executing (determined by Process#waitFor())