Skip to content

Commit 7bf64cc

Browse files
committed
minor fixes to README
1 parent 47bcc40 commit 7bf64cc

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -87,21 +87,21 @@ CancellationToken ct = default,
8787
If the command has a non-zero exit code, an `ExitCodeException` is thrown with an `int` `ExitCode` property and a message in the form of:
8888

8989
```c#
90-
$"The process exited with code {ExitCode}."
90+
$"The command exited with code {ExitCode}."
9191
```
9292

93-
In the case of `ReadAsync`, an `ExitCodeReadException` is thrown, which inherits from `ExitCodeException`, and has `string` `Out` and `Error` properties, representing standard out (stdout) and standard error (stderr), and a message in the form of:
93+
In the case of `ReadAsync`, an `ExitCodeReadException` is thrown, which inherits from `ExitCodeException`, and has `string` `StandardOutput` and `StandardError` properties, representing standard output (stdout) and standard error (stderr), and a message in the form of:
9494

9595
```c#
96-
$@"The process exited with code {ExitCode}.
96+
$@"The command exited with code {ExitCode}.
9797
98-
Standard Output:
98+
Standard output:
9999
100-
{Out}
100+
{StandardOutput}
101101
102-
Standard Error:
102+
Standard error:
103103
104-
{Error}"
104+
{StandardError}"
105105
```
106106

107107
### Overriding default exit code handling

0 commit comments

Comments
 (0)