Releases: benman64/subprocess
Releases · benman64/subprocess
0.6.0
Breaking Changes
- `[[nodiscard]]`` added to pipe_x functions. Most likely an error on your part
if the return value is ignored.
Non-breaking changes
- Fixed: threads ignoring return value of pipe_write and never terminating
- Changed: internal threads block SIGPIPE on a thread basis. Threads terminate
and close pipes as needed on pipe errors. This breaks the pipe chains which
prevents potential hangs with deep pipe chains.
v0.5.0
Breaking Changes
- pipe_create inheritable default is change to false. The subprocess API will
automatically set inheritable as needed. In most cases it will fix bugs on
your end at no additional effort. If you have an explicit reason
to create inheritable pipes then you should evaluate your code as this change
may introduce bugs into your code.
non-breaking Changes
- New pipe_set_blocking(), allows to change blocking mode.
- fixed #16 is_drive had a typo and so lowercase drives weren't properly
interpretted. Thanks DarkCat5501 - fixed #2 subprocess.run() respects timeout passed in. Thanks wgshwn.
- breaking: RunOptions which is used in subprocess::run order is changed to be
identical to python subprocess::run. This effects users using c++20 designated
initializers. Prior versions of compilers didn't seem to care about order. - Thanks to urs-muff for windows 64bit support
- Thanks GerHobbelt for the following
- yurivict Thanks for FREEBSD compatibility (I
have no way of testing this) and use BUILD_TESTING in camke - StableAgOH thanks for
- pointing out WC_ERR_INVALID_CHARS macro exists and std::string nullptr fix
- mingw compatibility fix
- github CI pipelines
- fixed: wait for background threads before destroying Popen.
subprocess for c++ v0.4.0
Changes:
CTRL_BREAK_EVENTis sent for SIGTERM & terminate() functions on windows.- fixed invalid handles when launching a python script that then launches new
processes. - new
kIsWin32constant to help avoid ifdef use. - Documentation wording to be more confident as the library is looking pretty
good, and I haven't felt like changing much of the API.
compiles using MSVC 2019
v0.3.0 updated readem for version 0.3.0
Release 2020-07-27
Fixed check=true not working.