Multiplex: Command-Line Process Mutliplexer
todsacerdoti
created: July 28, 2025, 5:18 a.m. | updated: July 28, 2025, 2:15 p.m.
.__ __ .__ .__ _____ __ __| |_/ |_|__|_____ | | ____ ___ ___ / \| | \ |\ __\ \____ \| | _/ __ \\ \/ / | Y Y \ | / |_| | | | |_> > |_\ ___/ > < |__|_| /____/|____/__| |__| __/|____/\___ >__/\_ \ \/ |__| \/ \/Multiplex is a command-line multiplexer along with a simple Python API to run multiple processes in parallel and stop them all at once, or based on some condition.
Multiplex is useful when you need to run multiple programs all at once and combine their output.
Process Dependencies ( examples/process-delays.sh )multiplex " STEP1=echo 'init' " " STEP2+STEP1=echo 'process' " " +STEP2=echo 'done' "Demonstrates chaining processes where each waits for the previous to complete.
HTTP Benchmark ( examples/http-benchmark.sh )multiplex " A=python -m http.server " " +A=ab -n1000 http://localhost:8000/ "Real HTTP server benchmarking where the test waits for server startup.
Complete Demo ( examples/complete-demo.sh )multiplex " SETUP|silent=setup " " DB+1=database " " API+DB=api " " UI+API=ui " " +UI|end=done "Comprehensive example showcasing all features: naming, time/process delays, actions, and coordination.
4 days, 18 hours ago: Hacker News: Front Page