hello -
i have a linux command installed that was written in jScript/node. when i run the command at the command line, it might look like this:
$ nodeCommand parmOne parmTwo ;
the command then proceeds to prompt me for several other "inputs". i would like to run this node command from a script.
is there any way to pass the input-prompts into the command? i have tried every combination i can think of using syntax similar to this:
echo -e <<EOF | nodeCommand parmOne parmTwo ;
keyboardInputOne
keyboardInputTwo
keyboardInputThree
EOF
any help is appreciated. thanks in advance.