Processes and their childs

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


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???


More information about the Python-list mailing list