文琦的推荐:
http://www.cnblogs.com/allenblogs/archive/2011/05/19/2051136.html
nohup command > myout.file 2>&1 &