I am executing a python script from node using execSync as follows:
execSync('python myScript.py -o "/dev/stdout"');
My script will send the result to the file specified -oin this case /dev/stdout.
I get the error message " There is no such device or address: '/ dev / stdout' ".
If I execute the command manually from the terminal, it works fine, but not when launched through node.
I am running Ubuntu 12.04.
source
share