mirror of
https://github.com/boostorg/process.git
synced 2026-01-19 04:22:15 +00:00
e8b5bf17f0b2979954562c55591f9cb8870035b0
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>
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: | |||
| Master: |
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
Languages
C++
98.7%
CMake
0.6%
Shell
0.5%