& vs nohup

M.W. Chang mwchang
Mon May 17 12:01:18 PDT 2004


> I tried to run `btdownloadheadless --responsefile abc.torrent --saveas 
> abc &`. The process stopped instantly. However, doing the same with
> `nohup btdownloadheadless --responsefile abc.torrent --saveas abc` can 
> keep it going, with output directed to nohup.txt.

someone suggested this and it worked:

btdownloadheadless.py abc.torrent > /dev/null 2&>1 &

-- 
   .~.    http://toylet.homeip.net
  / v \   Linux 2.4.22-xfs
/( _ )\  6:04pm up 2 days 20:23
   ^ ^    load average: 1.04 1.08 1.03



More information about the Linux-users mailing list