linux - Bash script hangs if I interrupt it -


for example there

ps -ax pid tty stat time command  1    ? ss  0:00 /sbin/init  .  . .  1564 ? sl 0:00 usr/bin/xyz  1569 ? sl 0:00 gnome-terminal  . . 1730 ? sl 0:00 gcaltool 1759 ? sl 0:00 firefox 

i have interrupt process 1564

1564 ? sl 0:00 usr/bin/xyz  1569 ? sl 0:00 gnome-terminal 

the terminal gets hanged if interrupt process pid 1564. think hangs because interrupting terminal process. there other way have strace process

process pid 1730, process pid 1759, 

which generated @ last? way bypass strace , interrupt of terminal process?


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -