Tag: trap

Found 43 results for 'trap'.

1) bash - bash: experiment to save and restore global variable context
2) bash - How to signal a trap in "global" bash scope from function?
3) bash - Failing on errors inside a function which is called on the left-hand-side of an && expression
4) shell - Keep exit codes when trapping SIGINT and similar?
5) process - Can a program trap on memory access to certain regions of process memory?
6) bash - Why does bash exit immediately when waiting for a command to complete and receives SIGHUP for which a trap has been set?
7) bash - Why script that kill itself using a signal handler produce segmentation fault?
8) bash - How can I test that the bash interactive shell handles the signal using the handler that I set up via `trap`?
9) shell-script - Prevent SIGINT from interrupting function call and child process(es) within
10) shell - How can I handle SIGINT trap with a user prompt in shell script?
11) bash - Prevent SIGINT from reaching child processes
12) bash - Trap all commands in function
13) linux - Cleanup trap for ssh command on multiple remote hosts
14) bash - How to trap INT signal infinitely many times?
15) vim - How to start Vim from a trap and still be able to resume it after suspending it?
16) bash - BASH: Change exit status in trap
17) bash - Bash ignoring SIGINT trap when 'select' loop is running
18) bash - How do you continue execution after using trap EXIT in bash?
19) shell - Setting a trap for INT doesn't work in a subshell
20) shell - Trap handling and implicit subshells in shell scripts
21) bash - What is the difference between the single and double quotes used with the trap command?
22) bash - Killing background process in bash script when exiting the script
23) bash - How to prevent one command from triggering ERR trap?
24) bash - Correct behavior of EXIT and ERR traps when using `set -eu`
25) bash - bash: Cancelling the execution of 'trap handler DEBUG'
26) bash - Can I trap a clock signal in my bash script?
27) bash - Trap and collect script output, "input file is output file" error?
28) bash - What is signal 0 in a trap command?
29) bash - Discriminate between CHLD sub shells in trap function
30) bash - Why does a command with a non-zero exit status send an ERR signal even when it is “part of a && or || list”?
31) bash - Trap both INT and ERR, but callback got executed multiple times
32) bash - How to stop the loop bash script in terminal?
33) shell - Error handling in shell script
34) bash - docker-compose, less and SIGINT
35) zsh - How to trap EXIT unconditionally (even if interrupted), in Zsh?
36) bash - Wrapper program that sets signal handler
37) perl - SNMPv3 traps in Zabbix
38) bash - Safely exiting while loops in bash
39) bash - Skip 'natural' exit in trap
40) shell-script - Prevent SIGINT from interrupting function call and child process(es) within
41) shell - Intercept "command not found" error in zsh
42) bash - Difference between 'trap -⁠- EXIT' and 'trap - EXIT'
43) bash - Signal trap from background job without pressing enter