2
0
mirror of https://github.com/boostorg/process.git synced 2026-01-19 04:22:15 +00:00
Daniel Klauer e8b5bf17f0 posix: Fix pipe fd leak if redirecting both stdout and stderr
This re-adds the close(source) call which already existed here before
commit caa7b2fcc8. pipe_out already closes the source fd when redirecting
stdout or stderr, it was just missing when redirecting both at once.

The pipe fds must be closed after redirecting to avoid keeping the pipe
open unnecessarily, for example the parent may want to close their end of
the pipe.

Closes: https://github.com/boostorg/process/issues/353
Signed-off-by: Daniel Klauer <daniel.klauer@gin.de>
2024-06-04 08:54:21 +08:00
2019-05-10 12:00:43 +07:00
2023-10-05 06:52:20 +08:00
2023-02-22 13:01:46 +08:00
2023-02-20 14:09:37 +08:00
2017-04-23 14:41:26 +02:00
2023-02-20 14:09:37 +08:00
2020-05-20 21:50:37 +07:00
2018-11-12 18:12:33 +07:00
2017-01-16 11:25:31 +01:00
2022-05-19 17:20:36 +08:00

Boost Process (Boost.Process)

Boost.process is a library for comfortable management of processes, released with boost 1.64.0.

Test results

Branches Linux / Windows Code coverage Matrix
Develop: Build Status codecov Matrix
Master: Build Status codecov Matrix

Open Issues

Latest developer documentation

About

This C++11 library is the current result of a long attempt to get a boost.process library, which is going on since 2006.

License

Distributed under the Boost Software License, Version 1.0.

Dependency

This library requires boost 1.64 with which it is released.

Description
Mirrored via gitea-mirror
Readme 4.8 MiB
Languages
C++ 98.7%
CMake 0.6%
Shell 0.5%