On Tue, Aug 13, 2002 at 08:58:26PM +0200, Eliran wrote: > Yes. But my program used : 'software -s' to start the daemon > and later 'software -q' to stop the daemon. What? should I write > the child's pid to a file and later read it ?
That would depend entirely on your program's structure. You could pass it in memory, in a file, over a socket, by spray painting it on the wall and using OCR and even using morse code. Your code, you decide. (If you want a serious answer, explain what your program does and how it is structured). -- "Hmm.. Cache shrink failed - time to kill something? Mhwahahhaha! This is the part I really like. Giggle." -- linux/mm/vmscan.c http://vipe.technion.ac.il/~mulix/ http://syscalltrack.sf.net
msg20980/pgp00000.pgp
Description: PGP signature