File 0101-Mention-that-os.cmd-1-captures-stderr-as-well.patch of Package erlang

From e92383388092f4763930b95e9e5710a1e0b7f0fe Mon Sep 17 00:00:00 2001
From: Malte Rohde <malte@bitcrowd.net>
Date: Wed, 14 Dec 2022 10:26:43 +0100
Subject: [PATCH] Mention that os.cmd/1 captures stderr as well.

---
 lib/kernel/doc/src/os.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/kernel/doc/src/os.xml b/lib/kernel/doc/src/os.xml
index 9ac0583d0a..2fee4b24a0 100644
--- a/lib/kernel/doc/src/os.xml
+++ b/lib/kernel/doc/src/os.xml
@@ -115,8 +115,8 @@
       <fsummary>Execute a command in a shell of the target OS.</fsummary>
       <desc>
         <p>Executes <c><anno>Command</anno></c> in a command shell of the
-	  target OS, captures the standard output of the command,
-          and returns this result as a string.</p>
+          target OS, captures the standard output and standard error of the
+          command, and returns this result as a string.</p>
         <p><em>Examples:</em></p>
         <code type="none">
 LsOut = os:cmd("ls"), % on unix platform
-- 
2.35.3

openSUSE Build Service is sponsored by