Skip to main content

login_start

Function login_start 

Source
pub fn login_start() -> i32
Expand description

What the login job does: nothing when this app already runs (a registration made while it is open, or a second login item), otherwise open it through LaunchServices in background mode and leave. Returns the exit code.