I'm executing a python script from within node using execSync like this:
execSync('python myScript.py -o "/dev/stdout"');
My script will send the result to the file specified at -o
in this case /dev/stdout
.
I get the error message "No such device or address: '/dev/stdout'".
If I execute the command manually from the terminal it runs fine, but not when started via node.
I'm running Ubuntu 12.04.