//! Convenience functions for miscellaneous functionality in xdotool.
use Output;
use crateSyncOption;
use crate;
use crateOptionVec;
use craterun;
/// Execute a program. This is often useful when combined with [`mouse::behave_screen_edge`](../mouse/fn.behave_screen_edge.html) to do things like locking your screen.
///
/// # Options
///
/// - `SyncOption::Sync` Block until the child process exits. The child process status is then passed to the parent process which copies it.
///
/// # Examples
// TODO: Check if this function has the desired behaviour as described in the man page
/// Sleep for a specified period. Fractions of seconds (like 1.3 or 0.4) are valid.