I need to perform a Bash function in the background. The function does some things, prints out its output at specified location on screen, and exits.
function foo(){
#Do things
tput cup 10 13
echo -e "OUTPUT"
}
I had no issues running it in the background, or with nohup description output, but not both. I need to run this function only in background without any output other than the function itselfs.
I have tried playing around with nohup, disown, and &, but without any luck.