Skip to main content

BACKGROUND_FLAG

Constant BACKGROUND_FLAG 

Source
pub const BACKGROUND_FLAG: &str = "--background";
Expand description

The flag every generated artifact passes to the launcher.

This is the ONLY thing that makes an auto-started instance behave like a background service. Without it being interpreted, an auto-start entry would just open an ordinary foreground window at login and still quit when the user closed it — i.e. the feature would silently not work (Codex P1 on PR #2999).