bug-bash
[Top][All Lists]
Advanced

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

Re: [PATCH] silent job monitor when 'set +m'


From: Jan Schampera
Subject: Re: [PATCH] silent job monitor when 'set +m'
Date: Sat, 07 Nov 2009 13:12:01 +0100
User-agent: Mozilla-Thunderbird 2.0.0.22 (X11/20090707)

Jeff Chua schrieb:

> The man page mentioned that 'set -m' should print 'a line containing
> their status upon their completion' ... which should imply 'set +m'
> should NOT print the status.
> 
> Attached is a patch to 'silent' bash so that it won't print the status
> when 'Monitor mode' is off (set +m).
> 
> If this is not the right place to do this, please suggest an alternative
> to silent bash when 'kill %!' is executed.
> 
> 
> Thanks,
> Jeff

A workaround is to diswon the monster. But yes, I also stumbled over
this once. See
http://bash-hackers.org/wiki/doku.php/snipplets/kill_bg_job_without_message


J.




reply via email to

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