Execa
Run local programs from Node.js and capture their output.
sindresorhus · Code and testing
GitHub projectOpen source Open on GitHubHow to try it
In a Node.js project, install [email protected]. Run a harmless echo process and check the returned text and exit status.
What we tested
10.2.1. Run a harmless echo process and check the returned text and exit status. Ran the fictional command successfully and matched its captured output.