Changes
- Renamed
reproc::cleanup::none to reproc::cleanup::noop - CMake options:
- Removed
REPROC_W4(replaced by check if we're included withadd_subdirectory) - Removed
REPROC_COLORED_OUTPUT(now always enabled). Side effect: GCC min version is now 4.9 - Renamed
REPROC_CLANG_TIDYtoREPROC_TIDY - Renamed
REPROC_CLANG_FORMATtoREPROC_FORMAT
- Removed
New Features
-
Export headers are now generated by CMake so
REPROC_SHAREDdoesn'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);