Processes and their childs

Markus Franz mf1987 at arcor.de
Tue Dec 21 15:17:34 CET 2004


Hi!


Inside a Python script (I use Python 2.4) several different child
processes are created by using os.fork().

My problem: I want only the parent process to print some output and
then create the child processes. But even If I use print BEFORE using
os.fork, everything that was printed by the parent process untill this
point is printed by every child process again. How can I avoid this?

Does anybody habe a solution for my problem???
Thanks.


Markus



More information about the Python-list mailing list