Skip to content

Commit

Permalink
Mention that os.cmd/1 captures stderr as well.
Browse files Browse the repository at this point in the history
  • Loading branch information
maltoe committed Dec 14, 2022
1 parent d861220 commit e923833
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/kernel/doc/src/os.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e923833

Please sign in to comment.