From: sumncguy <sum...@ya...> - 2008-02-05 03:21:28
|
After racking my brains for a few weeks, I found that Expects interact will hold and continue / return based on user input. Im now trying to accomplish that with the Perl Expect.pm module. It says ... # $process->interact([$in_handle],[$escape sequence]) $child->interact(); $child->interact(STDIN,'X'); $child->interact([STDIN],['X']); $child->interact( ,'X'); obviously not $child->interact('X'); here too .. also tried all the above with dub quotes. .... must be missing something. In expect interact "X" return Stops, give the user a router (for example) prompt back. When he/she hits X, the expect script continues. Thanks in advance. -- View this message in context: http://www.nabble.com/Holding-perl-expect-until-user-ready-..-tp15282716p15282716.html Sent from the Perl - Expectperl-Discuss mailing list archive at Nabble.com. |