in reply to INT signal kills process run with expect, when $SIG{'INT'} is set
The prcess lasts until 1st ^c.require Expect; use strict; $SIG{'INT'}=sub {print "Al Bundy rules!\n";}; sleep 10000;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: INT signal kills process run with expect, when $SIG{'INT'} is set
by cdarke (Prior) on Feb 22, 2011 at 09:05 UTC | |
|
Re: INT signal kills process run with expect, when $SIG{'INT'} is set
by ikegami (Patriarch) on Feb 22, 2011 at 16:53 UTC |