I call a script in my .bashrc to print number of new messages I have when I open the terminal, I want the call to be non blocking as it accesses the network and sometimes takes a few seconds which means I can't use the terminal until it completes.

However if I put:

    mailcheck & 

in my bashrc, it works fine. but then prints an empty line and I have when I press enter and it prints

    [1]+  Done                    ~/bin/mailcheck

This is very messy is there a way around this?

Edit
Report