Function glib::child_watch_future
source · [−]Expand description
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
.