Author

Topic: Executing python command line tools from NodeJS (Read 180 times)

newbie
Activity: 2
Merit: 0
October 26, 2018, 04:19:02 AM
#1
What would be the best way to execute command line tools from nodejs to python? I'm working on a app that can generate blockchain certification.

https://github.com/blockchain-certificates/cert-tools

This is a python based command line tool, where you can generate blockchain certificates. I have followed the steps and everything is working fine in the virtual env. But now I want to know how to implement this in to a app, where I can run the command line tools external from NodeJS. Is this possible? I have found some libraries where you can run python script from nodejs. Example I have used python shell. Whenever I run the setup script, I get missing file errors.

Can someone guide me what the best way will be to solve this problem. Thanks in advance.
Jump to: