mirror of
https://github.com/aphrody-labs/WSL.git
synced 2026-10-15 14:19:26 +00:00
* Run the documentation pipeline when doc/ is edited + various rendering fixes * Fix inverted condition
18 lines
357 B
Markdown
18 lines
357 B
Markdown
# ProcessOutputMode
|
|
|
|
Underlying values:
|
|
|
|
- `Discard = 0`
|
|
- `Stream = 1`
|
|
- `Event = 2`
|
|
|
|
Behavior:
|
|
|
|
- `Discard`: no stdout/stderr events or output streams.
|
|
- `Stream`: `GetOutputStream(...)` can be used.
|
|
- `Event`: stdout/stderr are delivered by callbacks and `OutputReceived` / `ErrorReceived`.
|
|
|
|
```cpp
|
|
procSettings.OutputMode(ProcessOutputMode::Event);
|
|
```
|