How do I start a program as a detached process in Linux?
What I mean is I would like to call a function foo("/bin/bash") and it would start bash and then promptly return, with out waiting for bash to quit.

-------------------------------------------------------------------
i686-pc-linux-gnu
Fedora 14, Gnu GCC