docs: add exitCode to job docs

pull/128/head
TorchedSammy 2022-03-19 13:14:12 -04:00
parent 1378a74e87
commit f03f8c0da1
Signed by: sammyette
GPG Key ID: 904FC49417B44DCD
1 changed files with 1 additions and 0 deletions

View File

@ -3,6 +3,7 @@ Note: A `job` is a table with the following keys:
- running: boolean whether the job is running
- id: unique id for the job
- pid: process id for the job
- exitCode: exit code of the job
In ordinary cases you'd prefer to use the id instead of pid. The id is unique to
Hilbish and is how you get jobs with the `hilbish.jobs` interface.