sheredom/subprocess.h
🐜 single header process launching solution for C and C++ observed · 2026-08-28
Health v2 · maintenance only
83/100
- Activity 98
- Release rhythm 53
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3183
- days_rel: 103
- days_push: 12
- n_releases_24m: 1
Adoption not part of the score
1413 stars · 110 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A single-header C/C++ library for launching and interacting with subprocesses across Linux, macOS, and Windows. It provides APIs to spawn processes, pipe stdin/stdout/stderr, and wait for completion.
Use cases
- launch a child process from C or C++
- run an external command and capture its output
- pipe data to a subprocess's stdin
- cross-platform process spawning without platform-specific code
- embed process execution in a single-header dependency
When to choose
- you need a lightweight, dependency-free way to spawn processes in C/C++
- you need cross-platform subprocess support on Linux, macOS, and Windows
- you want to avoid pulling in large frameworks like Boost.Process
When to avoid
- you need advanced features like process groups, signals, or async I/O multiplexing
- you are working in a language with built-in subprocess support
- you need shell-style piping between multiple processes
Facets
library · maturity active
concurrency developer-tools developer-tools cross-platform operating-systems windows cpp c cross-platform single-header subprocess process-launching header-only c-cpp linux macos
1 source
- readme: https://github.com/sheredom/subprocess.h · fetched 2026-08-28 · dc7d1e7c6f62
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| sheredom/subprocess.h | main | 83 |
For agents
markdown · JSON · MCP: product_card(name="sheredom/subprocess.h")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem