ridiculousfish 504a969a24 Separate on-job-exit and and on-process-exit events
It is possible to run a function when a process exits via `function
--on-process-exit`, or when a job exits via `function --on-job-exits`.
Internally these were distinguished by the pid in the event: if it was
positive, then it was a process exit. If negative, it represents a pgid
and is a job exit. If zero, it fires for both jobs and processes, which is
pretty weird.

Switch to tracking these explicitly. Separate out the --on-process-exit
and --on-job-exit event types into separate types. Stop negating pgids as
well.
2021-05-19 11:29:08 -07:00
..
2020-02-08 13:30:48 +01:00
2021-02-16 16:45:59 +01:00
2020-12-28 23:23:06 +01:00
2019-06-26 21:19:40 +02:00
2020-01-19 15:07:06 +01:00
2021-02-15 17:08:26 +01:00
2020-02-14 20:28:46 +01:00
2020-12-29 12:48:11 +01:00
2020-02-07 20:53:20 +01:00
2020-04-26 08:49:01 +02:00
2020-02-17 11:39:53 +01:00
2021-03-29 17:44:13 +02:00
2019-07-09 10:02:50 -07:00
2021-03-09 18:36:02 +01:00
2021-03-02 14:53:02 +01:00
2020-03-16 21:21:10 +01:00
2020-09-26 14:56:03 +02:00