You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problems with the bits in *os.Process Wait(options int)
1) they're non-portable
2) they're a mix of syscall bit numberspace and Go-assigned numbers (1 << 20 for
os.WRUSAGE)
We should clean this up somehow:
a) remove the options parameter to Wait
b) keep the options parameter, but document the bits as all Go-defined portable bits
(like FileMode)
c) document that they're all syscall bits and pass them along, but don't provide alias.
force callers to use syscall.WNOHANG, etc. that leaves WRUSAGE, but we could just
always return that, and remove WRUSAGE.
d) ???
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: