Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doc: Add missing ctor param in example #372

Merged
merged 1 commit into from
Jun 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions doc/v2/stdio.qbk
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ automatically connected and the other side will get assigned to the child proces

```
asio::io_context ctx;
asio::readable_pipe rp;
asio::readable_pipe rp{ctx};

process proc(ctx, "/usr/bin/g++", {"--version"}, process_stdio{{ /* in to default */}, rp, { /* err to default */ }});
std::string output;
Expand Down Expand Up @@ -86,4 +86,4 @@ It starts a process and connects pipes for stdin and stdout, so that the popen o

[endsect]

[endsect]
[endsect]
Loading