SuperScript::Software::trigger

The trigger-wait program


Usage

  trigger-wait [ -wWdD -t timeout ] path [ prog ]

Description

The trigger-wait listens for input on the fifo path and simultaneously executes prog, if present. It optionally waits for prog to complete and exits 0 if it received a trigger pull and 99 otherwise.

Options

Errors

The trigger-wait program exits 100 for permanent errors and 111 for temporary errors.