Please support using wait4 for Child and Command #61992
Labels
C-feature-request
Category: A feature request, i.e: not implemented / a PR.
O-linux
Operating system: Linux
T-libs-api
Relevant to the library API team, which will review and decide on the PR/issue.
On Linux, the
wait4
system call provides all the same information aswaitpid
, but additionally returns astruct rusage
containing the resource usage of the child process. I'd love to have Child and Command provide a platform-specific extension trait that useswait4
, and then returns thestruct rusage
in addition to the exit status.The text was updated successfully, but these errors were encountered: