michaelsanford
Translator, Web Developer
I've got S@H running on my Slackware machine with the following command...
alias setibg='cd /root/sah;setiathome -nice 19 > /dev/null &;cd $OLDPWD'
...which starts s@h in the background, giving me the standard +[1] setiathome job message right after; 'top' says everything's runinng fine.
However, if I quit the shell (i.e., go back to login prompt) the job seems to get released from my shell but keep running, with no warning. When I start a new shell and issue jobs I get a newline, as though I had no jobs running and top still says s@h is running.
I know that bash will warn you about stopped background jobs at logout, then terminate them if you try to log out again. So what exactly is going on with my bg job. I'm guessing it has to do with the combination of > /dev/null and & ?
alias setibg='cd /root/sah;setiathome -nice 19 > /dev/null &;cd $OLDPWD'
...which starts s@h in the background, giving me the standard +[1] setiathome job message right after; 'top' says everything's runinng fine.
However, if I quit the shell (i.e., go back to login prompt) the job seems to get released from my shell but keep running, with no warning. When I start a new shell and issue jobs I get a newline, as though I had no jobs running and top still says s@h is running.
I know that bash will warn you about stopped background jobs at logout, then terminate them if you try to log out again. So what exactly is going on with my bg job. I'm guessing it has to do with the combination of > /dev/null and & ?