Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In commit cbaa913 ("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 f8c0dd4 ("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: cbaa913 ("Merge branch 'develop' into limit_fd")
- Loading branch information