pub fn child_watch_future_with_priority( priority: Priority, pid: Pid ) -> Pin<Box<dyn Future<Output = (Pid, i32)> + Send + 'static>>
Future that will resolve once the child process with the given pid exits
Future will resolve to the pid of the child process and the exit code.
Future must be spawned on an
Executor backed by a