Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
os: document that (*Process).Wait only works for subprocesses #7072
The documentation for: p, err := os.FindProcess(pid) p.Wait() doesn't restrict which processes this works for, but the Linux implementation is based on wait4(2) which only works for child processes. It returns an error for unrelated or parent processes. This should be documented.
This issue was closed.