Martin McCormick wrote:
        So, can I make a shell script background itself after
starting?

You could run all your code in a sub-shell:
#!/bin/sh
(
        #your script here
) &

or in a shell function:
old_script()
{
        #your script here
}

old_script $* &

Perhaps the second way requires less code
re-factoring...

Nikos
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to