Open
Description
Boost.Process generally offers throwing and non-throwing overloads.
The constructor of boost::process::v2::process
is missing an overload that takes an error_code
instance. The following code does not compile:
boost::system::error_code ec;
boost::process::v2::process process{ctx, ec, "/usr/bin/cp", {"source.txt", "target.txt"}};
Looks like these constructors are simply missing and could easily forward ec
to default_process_launcher
? v1 offered such constructor overloads.
Metadata
Metadata
Assignees
Labels
No labels