[][src]Function glib::child_watch_future_with_priority

pub fn child_watch_future_with_priority(
    priority: Priority,
    pid: Pid
) -> Pin<Box<dyn Future<Output = (Pid, i32)> + Send + 'static>>

Create a Future that will resolve once the child process with the given pid exits

The Future will resolve to the pid of the child process and the exit code.

The Future must be spawned on an Executor backed by a glib::MainContext.