sorry if I am not descriptive enough, If I need to be please let me know.
I'm trying to have one node.js script use child_process.spawn()
on another node.js script. I am successfully able to make it execute but I am unable to retrieve data from pipes other than stdin, stdout, and stderr.
When I do a spawn()
command I have the option of accessing "stdio" but I don't have that option with process
. process.stdio
is undefined.
When I spawn()
an ffmpeg process I can easily get data from more than the 3 default pipes.
So, my question is : How can I get access to more pipes from a regular node.js script?
Essentially I would like to access things like process.stdio[1]
instead of process.stdout
because then I can use process.stdio
with numbers a lot higher than 2
.
any help is appreciated, thank you