Skip to content

Boost.Process V2 missing error_code constructor #505

Open
@csk-ableton

Description

@csk-ableton

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions