pub fn exec(command: &str, options: OptionVec<SyncOption>) -> OutputExpand description
Execute a program. This is often useful when combined with mouse::behave_screen_edge to do things like locking your screen.
§Options
SyncOption::SyncBlock until the child process exits. The child process status is then passed to the parent process which copies it.