Skip to content

Releases: benman64/subprocess

0.6.0

14 Dec 02:44

Choose a tag to compare

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

14 Dec 02:43

Choose a tag to compare

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
    • fixed #5 cin double closed.
    • _DCRTIMP for environ
    • order of check fixed, done so to match python ordering
      rather than changing example.
  • 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

03 Aug 02:24

Choose a tag to compare

Changes:

  • CTRL_BREAK_EVENT is sent for SIGTERM & terminate() functions on windows.
  • fixed invalid handles when launching a python script that then launches new
    processes.
  • new kIsWin32 constant 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

30 Jul 03:50

Choose a tag to compare

v0.3.0

updated readem for version 0.3.0

Release 2020-07-27

27 Jul 04:31

Choose a tag to compare

Fixed check=true not working.