From: Dave Moore Date: 2004-01-13T23:56:37+09:00 Subject: Automaic command enter I'm trying to use ruby to write a system admin script. I have a bash scripted called ask, which prompts me for a passcode. What is the passcode: I would like to have ruby to do the above for me automatically, so in my script I have #!/usr/bin/ruby -w `ask` Now how do I make ruby to enter the passcode without my interaction? TIA!