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.


-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/1cbd43b5-962d-4833-995f-37a1defca985%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to