mirror of
https://github.com/boostorg/process.git
synced 2026-01-19 04:22:15 +00:00
Doc: Add missing ctor param in example
This commit is contained in:
committed by
Klemens Morgenstern
parent
0058a9c69f
commit
20510abc65
@@ -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;
|
||||
@@ -86,4 +86,4 @@ It starts a process and connects pipes for stdin and stdout, so that the popen o
|
||||
|
||||
[endsect]
|
||||
|
||||
[endsect]
|
||||
[endsect]
|
||||
|
||||
Reference in New Issue
Block a user