The workaround is to get setpgrp called between the fork and exec calls used internally to spawn the process... and that probably means writing your own spawn method.
In reply to Re: INT signal kills process run with expect, when $SIG{'INT'} is set
by salva
in thread INT signal kills process run with expect, when $SIG{'INT'} is set
by ISAI student
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |