Got a question about a supervisor rule that treats a stopped process as a finished one.
A shell step writes an input file and a consumer is scheduled after it. The writer gets suspended partway through. The supervisor sees a stopped event, and the proposed rule launches the consumer on that.
Stopped isn't finished. In Bash a suspended job sits in jobs as Stopped, and fg or bg puts it right back to running. Nothing has validated the output yet either.
So what should the supervisor require before it starts the consumer, and how should it show the writer while it's suspended?