i have 2 processes. spawning first process console(bash). , first process intern spawning second process. second process reading file till gets sigint or sigterm signal user. when pressing ctrl+c, bash program delivering signal first process, it's getting killed , application goes down, because did not handle there.
so question how can force bash program deliver signal second process ??
thanks.
this bash not generate signal, tty generate signals active process. set child process active (by using tcsetpgrp
) receive signals tty.
before it, please read articles how tty works.
Comments
Post a Comment