fontlabapp.fontui.batch_worker
batch_worker
Batch child process and its supervisor (no panel references).
Detached UFO work runs in a separate Python (3.11+, with fontlab-fontport), so it never competes with FontLab's GUI thread for the GIL. The child reads a {"jobs", "recipe", "cancel"} JSON file named on its command line, prints one JSON line per font and stops before the next font once the cancel file exists. Nothing here ever waits on the child, except the bounded kill at the cap.
Classes
Complete member index
Every captured member retains its own identity. Identical captured declaration text is linked once; this does not establish native inheritance or interchangeable objects.
| Member | Kind | Signature | Summary |
|---|---|---|---|
CHILD |
attribute | ||
ENV_KEYS |
attribute | ||
KILL_SECONDS |
attribute | ||
KILL_WAIT |
attribute | ||
MAX_BUFFER |
attribute | ||
MAX_PENDING |
attribute | ||
READ_BYTES |
attribute | ||
ROW |
attribute | ||
ROWS_PER_POLL |
attribute | ||
STDERR_TAIL |
attribute | ||
supervise |
function | (process: BatchProcess, widget: Any, grace: float, interval: int) -> None |
Accept or explicitly resume this run's exact cleanup ownership. |