You can have a conversation and response per server by using the underlying net ssh subsystem.
I avoid doing this like the plague but in some situations it's impossible to do it any other way. The following blog post presents a pattern that I've used a number of times to do things similar to what you want to do. http://blog.perplexedlabs.com/2010/09/08/improved-deploycleanup-for-capistrano/ On Feb 13, 2013, at 5:56 PM, Eddie Du <sj.ed...@gmail.com> wrote: > I would like to know as well! > > I'm writing some install scripts with some prompts - I thought > default_run_options[:pty] = true is suppose to solve this but it didn't. > > On Wednesday, May 25, 2011 1:34:11 PM UTC-4, Pawan wrote: >> >> Hi All, >> >> I am using cap to call a push a script to remote which further >> downloads another script from http link which can contain any number >> of parameter prompt. But by running cap, the prompt waits, and if i >> enter value and click enter, it does not move to next. >> >> Is there any way to make this user interactive. >> >> >> Thanks >> Pawan > > -- > -- > * You received this message because you are subscribed to the Google Groups > "Capistrano" group. > * To post to this group, send email to capistrano@googlegroups.com > * To unsubscribe from this group, send email to > capistrano+unsubscr...@googlegroups.com For more options, visit this group at > http://groups.google.com/group/capistrano?hl=en > --- > You received this message because you are subscribed to the Google Groups > "Capistrano" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to capistrano+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > > -- -- * You received this message because you are subscribed to the Google Groups "Capistrano" group. * To post to this group, send email to capistrano@googlegroups.com * To unsubscribe from this group, send email to capistrano+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/capistrano?hl=en --- You received this message because you are subscribed to the Google Groups "Capistrano" group. To unsubscribe from this group and stop receiving emails from it, send an email to capistrano+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.