reproc
« Back to VersTracker
Description:
Cross-platform (C99/C++11) process library
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: c-library c++ process-management cross-platform system-programming
Install: brew install reproc
About:
Reproc is a cross-platform C99/C++11 library designed for process creation and management. It provides a robust API for spawning child processes, redirecting their standard input/output/error streams, and terminating them reliably. Its primary value proposition is abstracting away the complexities of platform-specific process APIs, ensuring consistent behavior across Windows, macOS, and Linux.
Key Features:
  • Cross-platform (Windows, Linux, macOS)
  • Stream redirection (stdin, stdout, stderr)
  • Timeout-based operations and process termination
  • C99 and C++11 APIs
  • No external dependencies
Use Cases:
  • Embedding a child process runner in C/C++ applications
  • Building CLI tools that need to execute and manage other commands
  • Automated testing frameworks requiring process control
Alternatives:
  • libuv – Libuv is a larger event loop library that includes process spawning, whereas reproc is a focused, lightweight library specifically for process management.
  • Boost.Process – Boost.Process is a C++-only solution with heavy dependencies, while reproc offers a lightweight C API with no dependencies.
Version History
Detected Version Rev Change Commit