Open glynnbird opened 7 years ago
So this module now detects whether it can find 'node' before attempting to run it. This is the first stage of doing this ticket.:)
see: https://github.com/ibm-cds-labs/pixiedust_node/commit/c9d142f334962c590007bbc53b9e5c24e86fc35e
If
pixiedust_node
is installed, could it conceivably install Node.js (node/npm) on the target system? If so how?@DTAIEB said
Currently, we assume
node
is in the PATH so we runself.ps = subprocess.Popen( ('node', path), stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
This could be changed to:
This would ensure node's home directory is the same as Pixiedust's.