in reply to problems with fork

You can use UN*X command nohup to start any program you want in the background and be sure that it won't die when you disconnect. Look:
$ nohup wget ftp://ftp.server/bigfile appending output to nohup.out $