Michael Bylstra Michael Bylstra - 9 months ago 38
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 Source

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