~roguescholar/boost/+git/process:master

Last commit made on 2024-03-31
Get this branch:
git clone -b master https://git.launchpad.net/~roguescholar/boost/+git/process

Branch merges

Branch information

Name:
master
Repository:
lp:~roguescholar/boost/+git/process

Recent commits

406cd3e... by Christian Eggers <email address hidden>

v2: sync initial value for exit code with v1

The initial value for the exit_code (0x7f) in v2 doesn't work with musl libc.
Here WIFSIGNALED(0x7f) expands to a non-zero value:

http://git.musl-libc.org/cgit/musl/tree/include/sys/wait.h#n54

c6951ff... by Devon Morris <email address hidden>

fix call on moved variable in execute

f2330c1... by mknaleczb <email address hidden>

Changed return value from "" to string_type()

2ae279b... by Samuel Venable <email address hidden>

Add more error handling to bp2::ext cwd.ipp. (#354)

* Add more error handling to bp2::ext cwd.ipp.

* Remove redundant errno checks

these functions don't fail...

7a17af0... by Christian Eggers

v2: fix closing of file descriptors

Fix off-by-one error. Currently, no handles are actually closed.

7689446... by Christian Eggers

posix: pipe_out: fix merge conflict

In commit cbaa913e3d73 ("Merge branch 'develop' into limit_fd"), there
have been merge conflicts in two files. In pipe_out.hpp, a previous
commit from the "limit_fd" branch f8c0dd4da58a ("prototype for
limit_fd") had been eliminated during wrong conflict resolution.

The final result was, that file descriptors for stdout pipes were not
preserved when using limit_handles.

Example:

boost::asio::io_context io_context;
bp::async_pipe my_stdin(io_context);
bp::async_pipe my_stdout(io_context);
bp::child my_child("/usr/bin/echo", "Hello world",
    bp::std_in < my_stdin, // preserved by limit_handles
    bp::std_out > my_stdout, // closed by limit_handles
    bp::std_err > stderr, // preserved by limit_handles
    bp::limit_handles)

Fixes: cbaa913e3d73 ("Merge branch 'develop' into limit_fd")

46acb24... by Klemens Morgenstern <email address hidden>

test include fix.

08e3549... by Klemens Morgenstern <email address hidden>

#include vector fixes.

029ad73... by Klemens Morgenstern <email address hidden>

added missing rename of variable.

03a348e... by Klemens Morgenstern <email address hidden>

Merge branch 'develop' of https://github.com/boostorg/process into develop