You can also explicitly not capture the sync context by doing the following:

```c#
Task<string> outputReaderTask = reader(process.StandardOutput).ConfigureAwait(continueOnCapturedContext: false);
Task<string> errorReaderTask = reader(process.StandardError).ConfigureAwait(continueOnCapturedContext: false);
```