On Mon, Oct 22, 2012 at 10:15:36PM -0700, Thomas Hintz wrote:
> Greetings!

Greetings!

> I don't seem to be able to spawn a child process from a thread and have the
> process continue executing after the parent process terminates. This
> happens if the thread that spawns the child process is still running when
> the parent process is terminated.

I think this is normal Unix behavior; you need to set up a new process
group to avoid getting killed if the parent is killed.  It's basic
daemonization.

Cheers,
Peter
-- 
http://sjamaan.ath.cx
--
"The process of preparing programs for a digital computer
 is especially attractive, not only because it can be economically
 and scientifically rewarding, but also because it can be an aesthetic
 experience much like composing poetry or music."
                                                        -- Donald Knuth

_______________________________________________
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to