]> Cypherpunks repositories - gostls13.git/commitdiff
doc/go1.20: add a release note for os/exec API changes
authorBryan C. Mills <bcmills@google.com>
Wed, 9 Nov 2022 16:10:59 +0000 (11:10 -0500)
committerBryan Mills <bcmills@google.com>
Wed, 9 Nov 2022 22:04:07 +0000 (22:04 +0000)
Updates #50436.

Change-Id: Ib6771221bda1c81d5593b29d7287ebcf169882ff
Reviewed-on: https://go-review.googlesource.com/c/go/+/449076
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Bryan Mills <bcmills@google.com>
Run-TryBot: Bryan Mills <bcmills@google.com>

doc/go1.20.html

index 4b726b5a7792628ef9561d4d68ebcb63f7b69b64..a9e9983eee5a25c417e3409ab2b7ce4bfcfe5c35 100644 (file)
@@ -270,6 +270,17 @@ Do not send CLs removing the interior tags from such phrases.
   </dd>
 </dl><!-- net/http/httputil -->
 
+<dl id="os/exec"><dt><a href="/pkg/os/exec/">os/exec</a></dt>
+  <dd>
+    <p><!-- https://go.dev/issue/50436, CL 401835 -->
+      The new <code>Cmd</code> fields <code>Cancel</code> and <code>WaitDelay</code>
+      specify the behavior of the <code>Cmd</code> when its associated
+      <code>Context</code> is canceled or its process exits with I/O pipes still
+      held open by a child process.
+    </p>
+  </dd>
+</dl><!-- os/exec -->
+
 <dl id="strconv"><dt><a href="/pkg/strconv/">strconv</a></dt>
   <dd>
     <p><!-- CL 345488 -->