Lets define a shell function (here the shell is Bash) and test it
$ s () { xterm -e sleep 5 & }
$ s
[1] 307926
$
[1]+ Done xterm -e sleep 5
$
With my specific meaning of better, I can redefine s
like this
$ s () { xterm -e sleep 5 & disown ; }
$ s
[1] 307932
$
$
(no message from the shell when the job is finished).
Here I have to ask, is it possible to define s
so that I have
$ s () { pre_magic xterm -e sleep 5 post_magic ; }
$ s
$
$
i.e., suppress the job info printed on terminal by the shell?