Last 12 weeks · 24 commits
4 of 6 standards met
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 .
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.
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.