In perl, control signals are sent with "\c". So, 'Control+G' would be "\cG".
I'm not sure if that'll work in Expect for you, but worth a shot. Hope it
helps.
Regards,
Patrick
Venkat_ch wrote:
>
> Hi,
> I've a test automation script. i need to send 'Contol+G' signal to make
> the tool to change the mode.
> Please let me know how to send 'control+G' signal to expect handle.
> Otherwise let me know incase you know how to send signals to expect
> handle.
>
> Thanks and Regards,
> Venkat
>
--
View this message in context: http://www.nabble.com/How-to-send-%27Control%2BG%27-signal-to-expect-tp21600199p21670785.html
Sent from the Perl - Expectperl-Discuss mailing list archive at Nabble.com.
|