Use this tag for questions about the `trap` Bash built-in.
I am unable to trap a signal when running in a child / background process. Here is my simple bash script: #!/…
bash signals child-process sigint bash-trapI've seen monitoring programs either in scripts that check process status using 'ps' or 'service status(on Linux)' periodically, …
bash child-process bash-trap sigchld