[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bug in force_interactive handling

From: Stas Sergeev
Subject: Re: bug in force_interactive handling
Date: Thu, 05 Jan 2012 13:42:28 +0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20111115 Thunderbird/8.0

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

[Prev in Thread] Current Thread [Next in Thread]