sanjar-notes / nodejs

Node, Express and helper app libs
https://sanjar-notes.github.io/nodejs/
GNU General Public License v3.0
0 stars 0 forks source link

`node:child_process` and other naive IPC methods #6

Open sanjarcode opened 1 year ago

sanjarcode commented 1 year ago

Original: https://stackabuse.com/executing-shell-commands-with-node-js/ Optimized: https://gist.github.com/sanjarcode/fc912ddae3d563fdb7da1e1e06344860

Add to notes

sanjarcode commented 10 months ago

execa is a helper npm package. It has support for subprocesses too. Module system is ESM only