Skip to content

Commit 78df7be

Browse files
committed
Process: Document that trailing newline is removed from stdout/stderr
Fixes #5083.
1 parent 9728623 commit 78df7be

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/robot/libraries/Process.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,9 @@ class Process:
279279
| `Should Be Equal` | ${stdout} | ${result.stdout} |
280280
| `File Should Be Empty` | ${result.stderr_path} | |
281281
282+
Notice that possible trailing newlines in captured``stdout`` and ``stderr``
283+
are removed automatically.
284+
282285
= Boolean arguments =
283286
284287
Some keywords accept arguments that are handled as Boolean values true or

0 commit comments

Comments
 (0)