Michael Bylstra Michael Bylstra - 1 year ago 59
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.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download