Files
tubestation/python/mach
Mitchell Hentges 76aea1c7f0 Bug 1721609: Don't wait for background Sentry VCS query to complete r=ahal
We do some VCS-status processing in the background so that, if an
exception occurs, we already have the file-modification information we
need to decide if Sentry should receive the event.

This processing can take a few seconds, especially if
on a feature branch with uncommitted changes.

This patch resolves the case where the Mach command finishes extremely
quickly, but the VCS check takes longer. Python waits for all non-daemon
processes, so by marking it as a `daemon`, Python now exits immediately
once the main thread completes.

Differential Revision: https://phabricator.services.mozilla.com/D128806
2021-10-19 19:00:05 +00:00
..

====
mach
====

Mach (German for *do*) is a generic command dispatcher for the command
line.

To use mach, you install the mach core (a Python package), create an
executable *driver* script (named whatever you want), and write mach
commands. When the *driver* is executed, mach dispatches to the
requested command handler automatically.

To learn more, read the docs in ``docs/``.