Skip to content

Commit

Permalink
specify exit code value
Browse files Browse the repository at this point in the history
  • Loading branch information
akosyakov committed Oct 9, 2016
1 parent 79e553f commit 8495309
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions protocol.md
Original file line number Diff line number Diff line change
Expand Up @@ -436,9 +436,7 @@ interface InitializeParams {
/**
* The process Id of the parent process that started
* the server. Is null if the process has not been started by another process.
* If the parent process is not alive then the server should exit its process
* with `success` code 0 if the shutdown request has been received before;
* otherwise with `error` code 1.
* If the parent process is not alive then the server should [exit](#### Exit Notification) its process.
*/
processId?: number;

Expand Down Expand Up @@ -640,6 +638,7 @@ _Response_
#### Exit Notification

A notification to ask the server to exit its process.
The server should exit with `success` code 0 if the shutdown request has been received before; otherwise with `error` code 1.

_Notification_
* method: 'exit'
Expand Down

0 comments on commit 8495309

Please sign in to comment.