folk-runtime-pipe
Pipe-based PHP worker runtime for Folk.
Spawns each PHP worker via execve, connecting it to the Rust master
through two Unix socketpairs:
- FD 3 -> task channel (request/response RPC traffic)
- FD 4 -> control channel (ready/idle/shutdown signals)
Uses pre_exec to set up file descriptors after fork but before exec.
Platform
This crate is Unix-only (#![cfg(unix)]). It does not compile on Windows.
Usage
use ;
let runtime = new;