In what language did you make the program?
If it's C(++) see the man for the daemon() function ("man 3 daemon")
Or if you don't want to change the program, try:
shell> nohup yourprog&
shell> (exec yourprog >/dev/null 2>&1 &)
You'll still need '&', but you can close the terminal (xterm?), without you program being killed.
Another option may be to look for the start-stop-daemon program on your system. On debian it's only in the $PATH or root. Use the -b option.
Last edited by Hko; 01-27-2003 at 03:59 PM.