From: markgo <gol...@gm...> - 2007-07-06 19:02:18
|
Austin Schutz wrote: > >> This is a tool I'd like to interrupt. >> >> $session->send("\cC") does not work, I suppose because the tool is not >> waiting for input. >> > > It should work anyway unless you have tweaked your term settings > interrupt character. $session->slave->stty('intr', "\cC") should do it. > > > Austin > Thanks for advice, I'll try to understand it better (it di dnot work as I expected). Actually, Ken's suggestion solved my problem. -- View this message in context: http://www.nabble.com/Is-it-possible-to-interrupt-spawned-session-%28like-Ctrl-C%29-tf4028111.html#a11470791 Sent from the Perl - Expectperl-Discuss mailing list archive at Nabble.com. |