Skip to content

v2.0.0-beta.7

Pre-release
Pre-release
Compare
Choose a tag to compare
@DaanDeMeyer DaanDeMeyer released this 13 Nov 23:43

Changes

  • Renamed reproc::cleanup::none to reproc::cleanup::noop
  • CMake options:
    • Removed REPROC_W4 (replaced by check if we're included with add_subdirectory)
    • Removed REPROC_COLORED_OUTPUT (now always enabled). Side effect: GCC min version is now 4.9
    • Renamed REPROC_CLANG_TIDY to REPROC_TIDY
    • Renamed REPROC_CLANG_FORMAT to REPROC_FORMAT

New Features

  • Export headers are now generated by CMake so REPROC_SHARED doesn't have to be defined when using reproc as a shared library.

  • pkg-config support

  • Added reproc_stop. C doesn't support overloading so the reproc version doesn't have the overloads with less arguments that the reproc++ version has.

    Example usage: reproc_stop(process, REPROC_WAIT, 10000, REPROC_TERMINATE, 5000, REPROC_NOOP, 0, &exit_status);