talira

Compare

cross-spawnExeca
What it isCross-platform child_process spawn and spawnSync for Node.jsProcess execution for humans: run subprocesses from Node.js without shell escaping
KindOpen sourceOpen source
Trust0.540.68
Stars11767690
Last commit2026-11-292026-11-18
LicenceMITMIT
PricingFree and open sourceFree and open source
Free tierYesYes
Self-hostable——
Ways to run it——
SOC 2——
HIPAA——
SSO——
API——
Plugins——
MCP server——
CompanyMade With MOXY LdaSindre Sorhus
Features
  • drop-in replacement for spawn and spawnSync
  • handles PATHEXT and shebangs on Windows
  • commands with spaces and relative paths
  • node_modules/.bin command shims
  • Windows argument escaping by Microsoft C runtime rules
  • promise and template string syntax with no escaping or shell injection
  • runs locally installed binaries without npx
  • Windows support for shebangs, PATHEXT and graceful termination
  • piping between subprocesses with intermediate results
  • line splitting, interleaved stdout and stderr, and transforms
  • Node.js and web streams in and out
  • forceful termination when a subprocess ignores signals
Limitations
  • With options.shell, all of its fixes are turned off, as in Node.js.