Javascript – Electron JS: spawn() works fine with "python –version" but with "python" I don't get any output
I'm using Electron JS and trying to execute a command in a child process using spawn() from the child_process module. When I run the command python --version, it correctly outputs the version of Python in the child process. However, when…