in reply to Hot Oracle backup/RMAN
If yes, you can just try to supply its input to STDIN, or you might find expect helpful.