I used to redirect the output to /dev/null, but sometimes it’s not good enough. It’s much better to just turn off stdout and stderr.
$ command 1>&- 2>&- &
I used to redirect the output to /dev/null, but sometimes it’s not good enough. It’s much better to just turn off stdout and stderr.
$ command 1>&- 2>&- &