subprocess::Popen::wait

Waits for the child process to exit and returns its status.

Synopsis

Declared in <util/subprocess.h>

int
wait() noexcept(false);

Return Value

The child's exit status code.