GitShow/sindresorhus/execa
sindresorhus

execa

Process execution for humans

by sindresorhus
binarychild-processexecexecutejavascriptnodejsshellspawn
Star on GitHubForknpm

JavaScript

7.6k stars260 forks65 contributorsActive · 3w agoSince 2015v10.0.1MIT

Meet the team

See all 65 on GitHub →
ehmicky
ehmicky594 contributions
sindresorhus
sindresorhus153 contributions
SamVerschueren
SamVerschueren16 contributions
jamestalmage
jamestalmage11 contributions
GMartigny
GMartigny3 contributions
kevva
kevva3 contributions
mk-pmb
mk-pmb3 contributions
fisker
fisker3 contributions

Languages

View on GitHub →
JavaScript79.2%
TypeScript20.8%

Commit activity

Last 12 weeks · 24 commits

Full graph →

Community health

4 of 6 standards met

Community profile →
85
✓README✓License✓Contributing✓Code of Conduct○Issue Template○PR Template

Recent PRs & issues

Active · 1 discussion · Last activity 3w ago
See all on GitHub →
ehmicky
Document and test async iterator helpersOpenIssue

Synchronous iterator helpers just landed in Node 22. Async iterator helpers are currently a stage 2 ES proposal. Once they land in Node, we should add some tests, and document how to use them with Execa. They could be quite nice to use with Execa. For example: Note: , and would also be useful to get a quick return value while the subprocess is still running. However, those won't wait for the subprocess to complete, so the user would need to call , unlike the other iterator methods. Also, those could be used with .

ehmicky · 2w ago

Recent fixes

View closed PRs →
matpen
Using duplex() with fd3: it must be a writable streamClosedIssue

I am trying to use within a , which results in very elegant code. However, I am facing a problem when using an input file descriptor different from stdin. The following snippet contains a minimal reproducer Running the code on GNU/Linux 6.14.0 with Node.js v22.15.0 and execa 9.6.0 causes the following error message I tracked the source, and noticed that by simply removing the validation rules, the code runs and behaves as expected. Unfortunately, I am not familiar enough with the source code to suggest a solution, so I would appreciate any help by the maintainers or more experienced users. Thank you for a wonderful library, and its extensive documentation.

matpen · 1w ago
LocutusOfBorg
Build failure with Ubuntu 26.10, new tests are failingClosedIssue

Hello, I don't know why the new tests are failing... https://launchpadlibrarian.net/871632402/buildlog_ubuntu-stonking-amd64.node-execa_9.6.1+dfsg1+~cs21.0.2-1_BUILDING.txt.gz

LocutusOfBorg · 3w ago
sindresorhus
Fix `preferLocal` argument escaping edge-case on WindowsMergedPR
sindresorhus · 3w ago
Structured data for AI agents

Repository: sindresorhus/execa. Description: Process execution for humans Stars: 7592, Forks: 260. Primary language: JavaScript. Languages: JavaScript (79.2%), TypeScript (20.8%). License: MIT. Topics: binary, child-process, exec, execute, javascript, nodejs, shell, spawn, spawned-processes, streams. Latest release: v10.0.1 (3w ago). Open PRs: 0, open issues: 1. Last activity: 3w ago. Community health: 85%. Top contributors: ehmicky, sindresorhus, SamVerschueren, jamestalmage, GMartigny, kevva, mk-pmb, fisker, aaronccasanova, justsml and others.

·@ofershap

Replace github.com with gitshow.dev