exec-inline
TypeScript icon, indicating that this package has built-in type declarations

0.0.5 • Public • Published

exec-inline

Make it more convenient to execute commands with inherited stdio

Usage

const { spawnSync } = require('exec-inline')

// Print "hello world"
spawnSync('echo', 'hello', 'world')

// Print "Exiting" and exit with code 123
spawnSync('bash', '-c', 'console.log("Exiting"); process.exit(123)').exit()

License

MIT © Hoàng Văn Khải

Package Sidebar

Install

npm i exec-inline

Weekly Downloads

10

Version

0.0.5

License

MIT

Unpacked Size

5.2 kB

Total Files

18

Last publish

Collaborators

  • khai96_