Skip to main content

Module process

Module process 

Source
Expand description

Process-management helpers that pair with [crate::lockfile]’s owner lookups: given a pid (e.g. from [crate::lockfile::owners] / [crate::lockfile::owners_in_tree]), ask the OS to terminate it — plus the repo-wide no_window spawn hygiene.

Functions§

no_window
Windows CREATE_NO_WINDOW: spawn the child without a console window. Our services are windowless (daemon, laboratory host, db supervisor, the viewer shell), so every console-subsystem child they spawn — podman, postgres, plugins, tools, runners, the cli re-execing itself — otherwise allocates and FLASHES its own console at the user. Applied at every runtime spawn site in the repository; no-op off Windows.