From f03f8c0da17d6c3dfe623a6168ff48b4d639dc27 Mon Sep 17 00:00:00 2001 From: TorchedSammy <38820196+TorchedSammy@users.noreply.github.com> Date: Sat, 19 Mar 2022 13:14:12 -0400 Subject: [PATCH] docs: add exitCode to job docs --- docs/hooks/job.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/hooks/job.txt b/docs/hooks/job.txt index 47c41ca..497df1c 100644 --- a/docs/hooks/job.txt +++ b/docs/hooks/job.txt @@ -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.