We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d2de77 commit 23ae7a7Copy full SHA for 23ae7a7
src/os/exec/exec.go
@@ -416,8 +416,10 @@ func (e *ExitError) Error() string {
416
return e.ProcessState.String()
417
}
418
419
-// Wait waits for the command to exit.
420
-// It must have been started by Start.
+// Wait waits for the command to exit and waits for any copying to
+// stdin or copying from stdout or stderr to complete.
421
+//
422
+// The command must have been started by Start.
423
//
424
// The returned error is nil if the command runs, has no problems
425
// copying stdin, stdout, and stderr, and exits with a zero exit
0 commit comments