Luca Olivetti wrote: >> Backgrounding is not the same as forking. > > I (vaguely) understand the difference, but I think (probably mistakenly) > that the problems are related.
I'm not saying the problems are not related; they may be. It's just important to know there is a difference. > the example daemon.pp, for example, crashes right away, strace doesn't > seem very useful to me: > > [EMAIL PROTECTED]:~/fork$ strace -f ./daemon > execve("./daemon", ["./daemon"], [/* 22 vars */]) = 0 > syscall: unknown syscall trap 0x00008000 There is a patch on the internet for strace, to skip this error. Google for strace syscall trap. > A simple program that just repeatedly sleeps after the fork, dies as > soon as it receives any signal (e.h HUP, USR1). Ok, this will be the same problem as with backgrounding in the shell. Micha _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal