How do I make the following command work in Mathematia?
Import["!\"C:\\Program Files\\nodejs\\node.exe\" -p console.log('test')", "Text"]
I don't get any output as if the command didn't properly execute.
If I execute the following my command does execute so it is simply a problem with the execute/displays output. Also
Import["!where node", "Text"] works so it is in the path.
Import["!node -h", "Text"]
EDIT: I can't reproduce this in any other application other then Mathematica so it isn't clear to me what the issue is.