Michael Bylstra Michael Bylstra - 1 month ago 7
Node.js Question

Is it possible to execute an external program from within node.js?

Is it possible to execute an external program from within node.js? Is there an equivalent to Python's os.system() or any library that adds this functionality?

Answer

You want to use the child_process module. See the documentation, which provides several clear examples of various use cases.

Comments