05.01.2012 06:50, Chet Ramey wrote:
So you'd like the shell to act on a signal without `consulting' the
foreground job?
For only the dedicated traps. For example:
trap -b /bin/true USR1

-b here would mean that the foreground job, if
any, is to be moved to the background before
executing the command. Since the command is
not really needed (I only need to move the job
to the background), I specified /bin/true as an
example, and in my previous example I used
"bg" which was not needed too.

Reply via email to