Skip to content

Commit

Permalink
Doc: Add missing ctor param in example
Browse files Browse the repository at this point in the history
  • Loading branch information
orgads committed May 15, 2024
1 parent 193384a commit d3aca6f
Showing 1 changed file with 2 additions and 2 deletions.
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]

0 comments on commit d3aca6f

Please sign in to comment.