D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: Backgrounding processes (was Re: [LUG] Download script)

 

On Monday 13 December 2004 12:54, Alex Charrett wrote:
The only issue with backgrounding processes in this way (you may well find
this with screen too) is that when you're connected via openssh, when you
log out the connection won't get ended cleanly unless you redirect stdin,
like so:

nohup wget http://my.url/image.iso < /dev/null &

'setsid' is your friend there.

~ Theo

-- 
Theo P. Zourzouvillys
<http://www.crazygreek.co.uk>

--
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe.