Skip to content

Commit 47bcc40

Browse files
authored
Merge pull request #773 from adamralph/reorder-params
Reorder parameters
2 parents 412d905 + a94ad77 commit 47bcc40

6 files changed

Lines changed: 129 additions & 79 deletions

File tree

README.md

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,15 +56,27 @@ var (standardOutput3, standardError3) = await ReadAsync("foo", new[] { "arg1", "
5656

5757
## Other optional arguments
5858

59+
### `Run`/`RunAsync`
60+
5961
```c#
6062
string workingDirectory = "",
63+
Action<IDictionary<string, string?>>? configureEnvironment = null,
6164
IEnumerable<string> secrets = null,
62-
bool noEcho = false,
65+
Func<int, bool>? handleExitCode = null,
6366
string? echoPrefix = null,
64-
Action<IDictionary<string, string?>>? configureEnvironment = null,
67+
bool noEcho = false,
68+
bool cancellationIgnoresProcessTree = false,
6569
bool createNoWindow = false,
66-
Encoding? encoding = null,
70+
CancellationToken ct = default,
71+
```
72+
73+
### `ReadAsync`
74+
75+
```c#
76+
string workingDirectory = "",
77+
Action<IDictionary<string, string?>>? configureEnvironment = null,
6778
Func<int, bool>? handleExitCode = null,
79+
Encoding? encoding = null,
6880
string? standardInput = null,
6981
bool cancellationIgnoresProcessTree = false,
7082
CancellationToken ct = default,

0 commit comments

Comments
 (0)