Just a quick question that I'm having trouble Googling for some reason.
When I fork a process in bash like this:
$ mything &
And it completes 10 seconds later, it interrupts my terminal like this:
[1]+ Done mything
Is there a way to disable this? I want to run it in the background but I want it to never come back and tell me anything, ever.
disown
after forkingscreen
:screen -dm mything
The second one has the advantage of you being able to re-attach and see the output before it finishes, if you'd like.
Try using disown...
Try the following - which will not return text....
This will never tell you the job has completed.
A subshell is probably the cleanest approach: