Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
os: fix Process.Wait comment (and Windows implementation?) #3138
What steps will reproduce the problem? os/Process.Wait's comment says: Wait waits for the Process to exit or stop, and then returns a ProcessState describing its status and an error, if any. at http://weekly.golang.org/pkg/os/#Process.Wait but rsc said: https://groups.google.com/group/golang-dev/msg/cc712d1b2943ee65 According to that thread, the Windows implementation probably needs to change. Which revision are you using? (hg identify) tip Please provide any additional information below.
By "stop", I assume you mean with SIGSTOP, after which a process may be resumed with SIGCONT. Wait should not return upon a SIGSTOP; the comment on the method probably needs to remove the "or stop" because it leads to this confusion.
Labels changed: added priority-go1, documentation, removed priority-triage.
Status changed to Accepted.
This issue was closed.