Node child-process exec command fails when interpolating a variable
I’m using nodes child-process
with its exec
function like this.
NodeJS child_process spawn not closing even after completion
I am trying to create a ReactNative project with ReactNative CLI. So i am triggering the command in a nodejs script.
How to test node child process interactively
This is my test.
I am running a child process which runs a bash script that ask for the user to input something.
I want to write back to the stdin but its failing.