|
...or how about...
nohup ./my_program >/dev/null 2>error.log &
that is, if you don't care about standard output... but just wanna see stderr messages.
if you intend to do this a lot... or permanently with this script, you may want to consider adding within the script something like this:
exec 1>/dev/null
exec 2>error.log (or exec 2>&1 if you want no output at all)
|