On Tue, 2019-11-12 at 09:54 +0100, Marc Haber wrote:

> Check hours_since
> Do command, bail out if unsuccessful
> update flag file

Hmm, I suppose that could work, but right now there is no way for
hours_since to communicate to the parent mr process that the flag file
should be updated and which flag file to update.

The stdout channel is already used so that would mean opening a pipe
from the child to the parent and telling hours_since which file
descriptor to write to using an environment variable.

I'm not proficient enough with file descriptors and Perl to be able to
implement this but I could add it to the myrepos codebase if I were to
get an example of how to do this.

-- 
bye,
pabs

https://wiki.debian.org/PaulWise

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to